w3tc_cdn_delete_attachment

w3tc_cdn_delete_attachment

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: w3-total-cache.2.8.2

apply_filters('w3tc_cdn_delete_attachment') is found 1 times:

  • /Cdn_Plugin.php line 211
    	 */
    	public function delete_attachment( $attachment_id ) {
    		$common = Dispatcher::component( 'Cdn_Core' );
    		$files  = $common->get_attachment_files( $attachment_id );
    		$files  = apply_filters( 'w3tc_cdn_delete_attachment', $files );
    
    		$results = array();
    
    		$cdn_engine = $this->_config->get_string( 'cdn.engine' );
    		if ( Cdn_Util::is_engine_mirror( $cdn_engine ) ) {
    			$common->purge( $files, $results );