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
228                submit_button( __( 'Change' ), 'button', 'changeit', false );
229           endif;
230
231           /**
232            * Fires just before the closing div containing the bulk role-change controls
233            * in the Users list table.
234            *
235            * @since 3.5.0
236            */
237           do_action( 'restrict_manage_users' );
238           echo '</div>';
239      }
240
241      /**
242       * Capture the bulk action required, and return it.
243       *
244       * Overridden from the base class implementation to capture
245       * the role change drop-down.
246       *