Inventory_Presser_Customize_Dashboard::add_settings_to_customizer( mixed $wp_customize )

add_settings_to_customizer


Description Description

Add a setting to the customizer's Colors panel for Carfax button text


Top ↑

Parameters Parameters

$wp_customize

(mixed) (Required)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-customize-admin-dashboard.php

	{
		//do not do this if we are already looking at the dashboard
		if( is_admin() ) { return; }

		global $wp_admin_bar;
		$wp_admin_bar->add_node( array(
			'id'     => 'wp-admin-bar-vehicles',
			'title'  => __( 'Vehicles', 'inventory-presser' ),
			'href'   => admin_url( 'edit.php?post_type=' . INVP::POST_TYPE ),
			'parent' => 'site-name',
		) );
	}
	
	/**
	 * annotate_add_media_button
	 * 
	 * Adds HTML near the Add Media button on the classic editor.
	 *
	 * @param  mixed $editor_id
	 * @return void
	 */
	function annotate_add_media_button( $editor_id )