acf/load_attachment

acf/load_attachment

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.2.1

apply_filters('acf/load_attachment') is found 1 times:

  • /includes/api/api-helpers.php line 3156
    	 * @param   array $response Array of loaded attachment data.
    	 * @param   WP_Post $attachment Attachment object.
    	 * @param   array|false $meta Array of attachment meta data, or false if there is none.
    	 */
    	return apply_filters( 'acf/load_attachment', $response, $attachment, $meta );
    }
    
    
    /**
     *  This function will truncate and return a string
     *