get_attachment, $result

get_attachment, $result

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('get_attachment, $result') is found 2 times:

  • /json-endpoints/class.wpcom-json-api-post-endpoint.php line 595
    		if ( isset( $metadata['duration'] ) ) {
    			$result['duration'] = (int) $metadata['duration'];
    		}
    
    		return (object) apply_filters( 'get_attachment', $result );
    	}
    
    	/**
    	 * Get post-specific user capabilities
    	 *
    	 * @param WP_Post $post - the WP_Post object.
    
  • /sal/class.json-api-post-base.php line 554
    			$result['duration'] = (int) $metadata['duration'];
    		}
    
    		/** This filter is documented in class.jetpack-sync.php */
    		return (object) apply_filters( 'get_attachment', $result );
    	}
    
    	/**
    	 * Returns an ISO 8601 formatted datetime string representing the date of post creation.
    	 *
    	 * @return string