Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: the_password_form

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
1782       * `minlength` or `maxlength` attributes or other validation that may be added to
1783       * the input.
1784       *
1785       * @since 2.7.0
1786       * @since 5.8.0 Added the `$post` parameter.
1787       *
1788       * @param string  $output The password form HTML output.
1789       * @param WP_Post $post   Post object.
1790       */
1791      return apply_filters( 'the_password_form', $output, $post );
1792 }
1793
1794 /**
1795  * Determines whether the current post uses a page template.
1796  *
1797  * This template tag allows you to determine if you are in a page template.
1798  * You can optionally provide a template filename or array of template filenames
1799  * and then the check will be specific to that template.
1800  *