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