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

apply_filters('aioseo_save_post') is found 1 times:

  • /app/Common/Models/Post.php line 305
    			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.