Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: manage_{$this->screen->id}_custom_column

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
495            *
496            * Custom columns are registered using the {@see 'manage_export-personal-data_columns'}
497            * and the {@see 'manage_erase-personal-data_columns'} filters.
498            *
499            * @since 5.7.0
500            *
501            * @param string          $column_name The name of the column to display.
502            * @param WP_User_Request $item        The item being shown.
503            */
504           do_action( "manage_{$this->screen->id}_custom_column", $column_name, $item );
505      }
506
507      /**
508       * Created timestamp column. Overridden by children.
509       *
510       * @since 5.7.0
511       *
512       * @param WP_User_Request $item Item being shown.
513       * @return string Human readable date.