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.3.11

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

  • /includes/rest-api/acf-rest-api-functions.php line 55
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
         * @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.