aioseo_last_modified_date_disable

aioseo_last_modified_date_disable

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

  • /app/Common/Standalone/LimitModifiedDate.php line 25
    	 *
    	 * @return void
    	 */
    	public function __construct() {
    		if ( apply_filters( 'aioseo_last_modified_date_disable', false ) ) {
    			return;
    		}
    
    		// Reset modified date when the post is updated.
    		add_filter( 'wp_insert_post_data', [ $this, 'resetModifiedDate' ], 99999, 2 );
    		add_filter( 'wp_insert_attachment_data', [ $this, 'resetModifiedDate' ], 99999, 2 );