/** * sets up hooks which only need to be included as part of REST API requests; * other requests like to the frontend or admin etc don't need them */ public static function set_hooks_rest_api() { //set hooks which account for changes made to the API EED_Core_Rest_Api::_set_hooks_for_changes(); }
/** * sets up hooks which only need to be included as part of REST API requests; * other requests like to the frontend or admin etc don't need them */ public static function set_hooks_rest_api() { //set hooks which account for changes made to the API EED_Core_Rest_Api::_set_hooks_for_changes(); EED_Core_Rest_Api::maybe_notify_of_basic_auth_removal(); }