generation if SEO Title Tag is active if ( function_exists( 'seo_title_tag' ) ) { remove_filter( 'wp_title', 'bizznis_default_title', 10, 3 ); remove_action( 'wp_head', 'wp_title' ); add_action( 'wp_head', 'seo_title_tag', 1 ); } } /** * Detect some SEO Plugin that add constants, classes or functions. * * @since 1.0.0 */ function bizznis_detect_seo_plugins() { return bizznis_detect_plugin( # Use this filter to adjust plugin tests. apply_filters( 'bizznis_detect_seo_plugins', # Add to this array to add new plugin checks. array( # Classes to detect. 'classes' => array( 'All_in_One_SEO_Pack', 'All_in_One_SEO_Pack_p', 'HeadSpace_Plugin', 'Platinum_SEO_Pack', 'wpSEO', 'SEO_Ultimate', ), # Functions to detect. 'functions' => array(), # Constants to detect. 'constants' => array( 'WPSEO_VERSION', ), ) ) ); }