AnsPress_API::register()
Description #
Register REST route.
Source #
File: includes/api.php
public static function register() { register_rest_route( 'anspress', '/user/avatar', array( 'methods' => 'GET', 'callback' => array( 'AnsPress_API', 'avatar' ), ) ); }
Expand full source code Collapse full source code View on GitHub: includes/api.php:24
Add your comment