We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0ee4ba commit 9a0e091Copy full SHA for 9a0e091
plugin.php
@@ -19,6 +19,7 @@ function bootstrap() {
19
// Core authentication hooks.
20
add_filter( 'determine_current_user', __NAMESPACE__ . '\\Authentication\\attempt_authentication', 11 );
21
add_filter( 'rest_authentication_errors', __NAMESPACE__ . '\\Authentication\\maybe_report_errors' );
22
+ add_filter( 'rest_index', __NAMESPACE__ . '\\register_in_index' );
23
24
// Internal default hooks.
25
add_filter( 'oauth2.grant_types', __NAMESPACE__ . '\\register_grant_types', 0 );
0 commit comments