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 |
---|---|
207 | * action to ensure that both the JS and no-JS variants are handled. |
208 | * |
209 | * @since 5.6.0 |
210 | * @since 5.6.1 Corrected action name and signature. |
211 | * |
212 | * @param string $new_password The newly generated application password. |
213 | * @param array $request The array of request data. All arguments are optional and may be empty. |
214 | * @param WP_User $user The user authorizing the application. |
215 | */ |
216 | do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user ); |
217 | ?> |
218 | <?php else : ?> |
219 | <form action="<?php echo esc_url( admin_url( 'authorize-application.php' ) ); ?>" method="post" class="form-wrap"> |
220 | <?php wp_nonce_field( 'authorize_application_password' ); ?> |
221 | <input type="hidden" name="action" value="authorize_application_password" /> |
222 | <input type="hidden" name="app_id" value="<?php echo esc_attr( $app_id ); ?>" /> |
223 | <input type="hidden" name="success_url" value="<?php echo esc_url( $success_url ); ?>" /> |
224 | <input type="hidden" name="reject_url" value="<?php echo esc_url( $reject_url ); ?>" /> |
225 |
|