wpsc_delete_related_pages_on_edit

wpsc_delete_related_pages_on_edit

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-super-cache.1.9.4

apply_filters('wpsc_delete_related_pages_on_edit') is found 1 times:

  • /wp-cache-phase2.php line 3206
    		$all = true;
    	}
    
    	$all_backup = $all;
    	$all        = apply_filters( 'wpsc_delete_related_pages_on_edit', $all ); // return 0 to disable deleting homepage and other pages.
    	if ( $all != $all_backup ) {
    		wp_cache_debug( 'wp_cache_post_change: $all changed by wpsc_delete_related_pages_on_edit filter: ' . intval( $all ) );
    	}
    
    	// Delete supercache files whenever a post change event occurs, even if supercache is currently disabled.
    	$dir = get_supercache_dir();