Option Tree Hide Settings And Documentation Page

/*
* This will hide the settings & documentation pages.
*/
add_filter( ‘ot_show_pages’, ‘__return_false’ );
add_filter( ‘ot_header_logo_link’, ‘custom_theme_option_icon’);
function custom_theme_option_icon(){
return site_url().’/wp-content/themes/oudaryamay/option-tree/oudarya2.gif’;
}
add_filter( ‘ot_header_version_text’, ‘custom_theme_option_name’);
function custom_theme_option_name(){
return “Oudaryamay – Theme Option”;
}
add_filter( ‘ot_theme_mode’, ‘__return_true’ );
add_filter( ‘ot_show_new_layout’, ‘__return_false’ );

Advertisements

Published by

oudarya

I am a developer

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s