WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
249 | * @param array $request { |
250 | * The array of request data. All arguments are optional and may be empty. |
251 | * |
252 | * @type string $app_name The suggested name of the application. |
253 | * @type string $success_url The URL the user will be redirected to after approving the application. |
254 | * @type string $reject_url The URL the user will be redirected to after rejecting the application. |
255 | * } |
256 | * @param WP_User $user The user authorizing the application. |
257 | */ |
258 | do_action( 'wp_authorize_application_password_form', $request, $user ); |
259 | ?> |
260 |
|
261 | <?php |
262 | submit_button( |
263 | __( 'Yes, I approve of this connection' ), |
264 | 'primary', |
265 | 'approve', |
266 | false, |
267 | array( |