<?php echo '<img src="'.upg_PLUGIN_URL.'/images/info.png">'; ?></a> <?php echo "<b>Yahoo Page Title</b>: "; echo "My settings input filed appear here."; } add_action( 'upg_setting_tab_basic_form' , 'upg_add_yahoo_page_settings', 10 , 2 );" />

Hooks for UPG Basic Settings

Hooks for UPG Basic Settings

In UPG Basic settings, there are 4 different tab.
Each tabs have their own action hook, so that settings appear just at appropriate location.
Refer the image below, for proper concept.

//This will add setting field inside UPG Basic Settings tab -> Form Settings
function upg_add_yahoo_page_settings()
{
$options = get_option( 'upg_settings' );


	?>
		<a href="#" title="<?php echo __( 'Yahoo page tool tip', 'wp-upg' ); ?>" class="upg_tooltip"><?php echo '<img src="'.upg_PLUGIN_URL.'/images/info.png">'; ?></a> 
	<?php

	echo "<b>Yahoo Page Title</b>: ";
    echo "My settings input filed appear here.";
}
	add_action( 'upg_setting_tab_basic_form' , 'upg_add_yahoo_page_settings', 10 , 2 );

1.82

Leave a Reply

Your email address will not be published. Required fields are marked *