| | |
| | | //const JVB_TESTING = false; |
| | | |
| | | //if (!JVB_TESTING) { |
| | | // add_filter('show_admin_bar', '__return_false'); |
| | | add_filter('show_admin_bar', '__return_false'); |
| | | //} |
| | | |
| | | |
| | |
| | | /** |
| | | * Utilities |
| | | */ |
| | | //require(JVB_DIR . '/cleanup.php'); |
| | | require(JVB_DIR . '/cleanup.php'); |
| | | require(JVB_DIR . '/inc/admin/_setup.php'); |
| | | |
| | | require(JVB_DIR . '/JVBase.php'); |
| | |
| | | ); |
| | | } |
| | | |
| | | add_action( 'doing_it_wrong_run', function ( $function_name ) { |
| | | if ( '_load_textdomain_just_in_time' === $function_name ) { |
| | | // This will print the full execution path to your screen or log |
| | | debug_print_backtrace(); |
| | | } |
| | | } ); |
| | | |
| | | |
| | | add_filter('the_seo_framework_sitemap_exclude_ids', 'jvb_maybe_exclude_singles', 8, 1); |
| | | function jvb_maybe_exclude_singles(array $IDs):array |