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
219                submit_button( __( 'Change' ), 'button', 'changeit', false );
220           endif;
221
222           /**
223            * Fires just before the closing div containing the bulk role-change controls
224            * in the Users list table.
225            *
226            * @since 3.5.0
227            */
228           do_action( 'restrict_manage_users' );
229           echo '</div>';
230      }
231
232      /**
233       * Capture the bulk action required, and return it.
234       *
235       * Overridden from the base class implementation to capture
236       * the role change drop-down.
237       *