aioseo_disable

aioseo_disable

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

See hook in core

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

apply_filters('aioseo_disable') is found 2 times:

  • /app/Common/Main/Head.php line 100
    096
    097
    098
    099
    100
    101
    102
    103
    104
    105
    106
    *
     * @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
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    if ( is_admin() || is_feed() ) {
        return false;
    }
     
    if ( apply_filters( 'aioseo_disable', false ) || $this->isExcludedGlobal() ) {
        return false;
    }
     
    if ( ! $this->isQueriedObjectPublic() ) {
        return false;
    }