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.5.9.2

apply_filters('aioseo_save_post') is found 1 times:

  • /app/Common/Models/Post.php line 279
    		$thePost = self::getPost( $postId );
    		// 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 = apply_filters( 'aioseo_save_post', $thePost );
    		$thePost = self::sanitizeAndSetDefaults( $postId, $thePost, $data );
    
    		// Update traditional post meta so that it can be used by multilingual plugins.
    		self::updatePostMeta( $postId, $data );
    
    		$thePost->save();