w3tc_cdn_update_attachment

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

  • /Cdn_Plugin.php line 185
    	 */
    	public function update_attached_file( $attached_file ) {
    		$common = Dispatcher::component( 'Cdn_Core' );
    		$files  = $common->get_files_for_upload( $attached_file );
    		$files  = apply_filters( 'w3tc_cdn_update_attachment', $files );
    
    		$results = array();
    
    		$cdn_engine = $this->_config->get_string( 'cdn.engine' );
    		if ( Cdn_Util::is_engine_mirror( $cdn_engine ) ) {
    			if ( ! array_key_exists( $attached_file, $this->_attachments_action ) || 'update' === $this->_attachments_action[ $attached_file ] ) {