Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: hidden_meta_boxes

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
182       * Filters the list of hidden meta boxes.
183       *
184       * @since 3.3.0
185       *
186       * @param string[]  $hidden       An array of IDs of hidden meta boxes.
187       * @param WP_Screen $screen       WP_Screen object of the current screen.
188       * @param bool      $use_defaults Whether to show the default meta boxes.
189       *                                Default true.
190       */
191      return apply_filters( 'hidden_meta_boxes', $hidden, $screen, $use_defaults );
192 }
193
194 /**
195  * Register and configure an admin screen option
196  *
197  * @since 3.1.0
198  *
199  * @param string $option An option name.
200  * @param mixed  $args   Option-dependent arguments.