Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: restrict_manage_users

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
273           /**
274            * Fires just before the closing div containing the bulk role-change controls
275            * in the Users list table.
276            *
277            * @since 3.5.0
278            * @since 4.6.0 The `$which` parameter was added.
279            *
280            * @param string $which The location of the extra table nav markup: 'top' or 'bottom'.
281            */
282           do_action( 'restrict_manage_users', $which );
283           echo '</div>';
284      }
285
286      /**
287       * Capture the bulk action required, and return it.
288       *
289       * Overridden from the base class implementation to capture
290       * the role change drop-down.
291       *