w3tc_cdn_delete_attachment, $files

w3tc_cdn_delete_attachment, $files

Hook Type: filter

See hook in core

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

apply_filters('w3tc_cdn_delete_attachment, $files') is found 1 times:

  • /Cdn_Plugin.php line 377
    	 */
    	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();
    
    		$w3tc_cdn_engine = $this->_config->get_string( 'cdn.engine' );
    		if ( Cdn_Util::is_engine_mirror( $w3tc_cdn_engine ) ) {
    			$common->purge( $files, $results );