Docs: Correct DocBlock formatting for admin_email_confirm
and admin_email_confirm_form
hooks.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46837 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e76722f70f
commit
ed126e5f52
@ -602,11 +602,12 @@ switch ( $action ) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Filters the interval for redirecting the user to the admin email confirmation screen.
|
* Filters the interval for redirecting the user to the admin email confirmation screen.
|
||||||
|
*
|
||||||
* If `0` (zero) is returned, the user will not be redirected.
|
* If `0` (zero) is returned, the user will not be redirected.
|
||||||
*
|
*
|
||||||
* @since 5.3.0
|
* @since 5.3.0
|
||||||
*
|
*
|
||||||
* @param int $interval Interval time (in seconds).
|
* @param int $interval Interval time (in seconds). Default is 6 months.
|
||||||
*/
|
*/
|
||||||
$admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );
|
$admin_email_check_interval = (int) apply_filters( 'admin_email_check_interval', 6 * MONTH_IN_SECONDS );
|
||||||
|
|
||||||
@ -625,7 +626,8 @@ switch ( $action ) {
|
|||||||
*
|
*
|
||||||
* @since 5.3.0
|
* @since 5.3.0
|
||||||
*
|
*
|
||||||
* @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid credentials. Note that the error object may not contain any errors.
|
* @param WP_Error $errors A `WP_Error` object containing any errors generated by using invalid
|
||||||
|
* credentials. Note that the error object may not contain any errors.
|
||||||
*/
|
*/
|
||||||
do_action( 'admin_email_confirm', $errors );
|
do_action( 'admin_email_confirm', $errors );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user