Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_authorize_application_password_request_errors

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
684      /**
685       * Fires before application password errors are returned.
686       *
687       * @since 5.6.0
688       *
689       * @param WP_Error $error   The error object.
690       * @param array    $request The array of request data.
691       * @param WP_User  $user    The user authorizing the application.
692       */
693      do_action( 'wp_authorize_application_password_request_errors', $error, $request, $user );
694
695      if ( $error->has_errors() ) {
696           return $error;
697      }
698
699      return true;
700 }
701
702 /**