w3tc_cdn_update_attachment, $files

w3tc_cdn_update_attachment, $files

Hook Type: filter

See hook in core

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

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

  • /Cdn_Plugin.php line 351
    	 */
    	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();
    
    		$w3tc_cdn_engine = $this->_config->get_string( 'cdn.engine' );
    		if ( Cdn_Util::is_engine_mirror( $w3tc_cdn_engine ) ) {
    			if ( ! array_key_exists( $attached_file, $this->_attachments_action ) || 'update' === $this->_attachments_action[ $attached_file ] ) {