acf/rest/get_field_links

acf/rest/get_field_links

Hook Type: filter

See hook in core

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

apply_filters('acf/rest/get_field_links') is found 1 times:

  • /includes/rest-api/acf-rest-api-functions.php line 55
    	 * @param string|int $post_id
    	 * @param array      $field
    	 * @param mixed      $value
    	 */
    	return (array) apply_filters( 'acf/rest/get_field_links', $links, $post_id, $field, $value );
    }
    
    acf_add_filter_variations( 'acf/rest/get_field_links', array( 'type', 'name', 'key' ), 2 );
    
    /**
     * Format a given field's value for output in the REST API.