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
270                submit_button( __( 'Change' ), 'button', 'changeit', false );
271           endif;
272
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            */
279           do_action( 'restrict_manage_users' );
280           echo '</div>';
281      }
282
283      /**
284       * Capture the bulk action required, and return it.
285       *
286       * Overridden from the base class implementation to capture
287       * the role change drop-down.
288       *