aioseo_save_post

aioseo_save_post

Hook Type: filter

See hook in core

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

apply_filters('aioseo_save_post') is found 1 times:

  • /app/Common/Models/Post.php line 241
    		$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();