Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: media_date_column_time

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
511           /**
512            * Filters the published time of an attachment displayed in the Media list table.
513            *
514            * @since 6.0.0
515            *
516            * @param string  $h_time      The published time.
517            * @param WP_Post $post        Attachment object.
518            * @param string  $column_name The column name.
519            */
520           echo apply_filters( 'media_date_column_time', $h_time, $post, 'date' );
521      }
522
523      /**
524       * Handles the parent column output.
525       *
526       * @since 4.3.0
527       *
528       * @param WP_Post $post The current WP_Post object.
529       */