rest_user_collection_params

rest_user_collection_params

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('rest_user_collection_params') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php line 1622

    Warning: Undefined array key 1624 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 1625 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 1626 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 1627 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    1618
    1619
    1620
    1621
    1622
    1623
    1624
             * @since 4.7.0
             *
             * @param array $query_params JSON Schema-formatted collection parameters.
             */
            return apply_filters( 'rest_user_collection_params', $query_params );
        }
    }

See this hook used in plugins: