aioseo_save_post

aioseo_save_post

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_save_post') is found 1 times:

  • /app/Common/Models/Post.php line 314
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
        return false;
    }
     
    $thePost = self::getPost( $postId );
    $data    = apply_filters( 'aioseo_save_post', $data, $thePost );
     
    // Before setting the data, we check if the title/description are the same as the defaults and clear them if so.
    $data    = self::checkForDefaultFormat( $postId, $thePost, $data );
    $thePost = self::sanitizeAndSetDefaults( $postId, $thePost, $data );
     
    // Update traditional post meta so that it can be used by multilingual plugins.