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.
2 parents a0ee4ba + 9a0e091 commit 8c99784Copy full SHA for 8c99784
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