App Connect 0.1-dev has 1 actions and 12 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when App Connect fires an action
add_action( 'oauth2_authorize_form', function( $client ) {
// Your code runs here.
}, 10, 1 );
// Change a value App Connect is about to use
add_filter( 'oauth2.admin.profile.render_token_row.actions', function( $actions, $token, $user ) {
// Change $actions here.
return $actions;
}, 10, 3 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires inside the lostpassword <form> tags. */ do_action( 'oauth2_authorize_form', $client ); -
/** * Filter actions shown for an access token on the profile screen. */ apply_filters( 'oauth2.admin.profile.render_token_row.actions', $actions, $token, $user ); -
/** * Filter details shown for an access token on the profile screen. */ apply_filters( 'oauth2.admin.profile.render_token_row.details', $details, $token, $user ); -
/** * Filter whether a client is allowed to connect via a broker. */ apply_filters( 'oauth2.connect.allow_client', true, $broker_data->client_id, $broker_data->app ); -
/** * Filter the known brokers on the server. */ apply_filters( 'oauth2.connect.known_brokers', $brokers ); -
/** * Filter the authorization URL. */ apply_filters( 'oauth2.get_authorization_url', $url ); -
/** * Filter the token URL. */ apply_filters( 'oauth2.get_token_url', $url ); -
/** * Filter valid grant types. */ apply_filters( 'oauth2.grant_types', [] ); -
/** * Filter the redirect args when the user has authorized. */ apply_filters( 'oauth2.redirect_args.authorized', $redirect_args, $client, $data ); -
/** * Filter the redirect args when the user has cancelled. */ apply_filters( 'oauth2.redirect_args.cancelled', $redirect_args, $client, $data ); -
/** * Filter the registration URL below the login form. */ apply_filters( 'register', $registration_url ); -
/** * Filter whether a callback is counted as valid. */ apply_filters( 'rest_oauth.check_callback', $valid, $uri, $registered_uri, $this ); -
/** * This filter is documented in wp-includes/post-template.php */ apply_filters( 'the_content', $content );
Generated from App Connect's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: