Checks if a given request has access to read and manage settings.
Parameters
$request
WP_REST_Requestrequired- Full details about the request.
Source
public function get_item_permissions_check( $request ) {
return current_user_can( 'manage_options' );
}
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.