Action hook in UPG Settings Tab
Action hook in UPG Settings Tab

At User Post Gallery admin dashboard, UPG Settings.
You can insert your own settings with the help of action hook. There are several tabs in UPG settings. Each tab have their own action hook, so that it appears in as required.
do_action( "upg_setting_tab_title" , $upg_tab_title_id="", $upg_tab_title_label="" );
Add your own tab with your required title name.
Example below
add_action( 'upg_setting_tab_title' , 'upg_set_setting_tab_title_yahoo', 10 , 2 );
function upg_set_setting_tab_title_yahoo( $upg_tab_title_id, $upg_tab_title_label )
{
$upg_tab_title_id="yahoo";
$upg_tab_title_label="Yahoo Title";
echo '<li><a href="#'.$upg_tab_title_id.'">';
echo __($upg_tab_title_label,"wp-upg-pro").'</a></li> ';
}
do_action( "upg_setting_tab_body" , $upg_tab_title_id="");
The title tab have own content. It's a hook to have own information when tab is selected.
add_action( 'upg_setting_tab_body' , 'upg_set_setting_tab_body_yahoo', 10 , 1 );
function upg_set_setting_tab_body_yahoo( $upg_tab_title_id )
{
//It should be same as in title
$upg_tab_title_id="yahoo";
echo ' <div id="'.$upg_tab_title_id.'">';
//As on register_setting & add_settings_section
settings_fields( 'upg_yahoo_upload_Page' );
do_settings_sections( 'upg_yahoo_upload_Page' );
echo "</div>";
}