aioseo_disable

aioseo_disable

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.4.2

apply_filters('aioseo_disable') is found 2 times:

  • /app/Common/Main/Head.php line 100
    	 *
    	 * @return void
    	 */
    	public function registerTitleHooks() {
    		if ( apply_filters( 'aioseo_disable', false ) || apply_filters( 'aioseo_disable_title_rewrites', false ) ) {
    			return;
    		}
    
    		add_filter( 'pre_get_document_title', [ $this, 'getTitle' ], 99999 );
    		add_filter( 'wp_title', [ $this, 'getTitle' ], 99999 );
    		if ( ! current_theme_supports( 'title-tag' ) ) {
    
  • /app/Common/Meta/Included.php line 27
    		if ( is_admin() || is_feed() ) {
    			return false;
    		}
    
    		if ( apply_filters( 'aioseo_disable', false ) || $this->isExcludedGlobal() ) {
    			return false;
    		}
    
    		if ( ! $this->isQueriedObjectPublic() ) {
    			return false;
    		}