Inventory_Presser_Options::callback_mapbox_public_token()

callback_mapbox_public_token


Description Description

Outputs a text box control for the MapBox Public Token setting


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-dealership-options.php

	function callback_mapbox_public_token()
	{
		printf(
			'<p><input type="text" name="%1$s" class="regular-text code" id="%1$s" value="%2$s" /></p><p class="description">%3$s <a href="%4$s">%5$s</a> %6$s</p>',
			'inventory_presser[mapbox_public_token]',
			isset( $this->option['mapbox_public_token'] ) ? $this->option['mapbox_public_token'] : '',
			__( 'Obtain a key at', 'inventory-presser' ),
			'https://mapbox.com/',
			'mapbox.com',
			__( 'to use the Map widget.', 'inventory-presser' )
		);
	}