A WordPress-centric search engine for devs and theme authors

twentytwenty_start_of_post_meta_list ›

SinceTwenty Twenty 1.1 Added the `$post_meta` and `$location` parameters.
do_action( 'twentytwenty_start_of_post_meta_list', $post_id, $post_meta, $location )
Parameters: (3)
  • (int) $post_id Post ID.
    Required: Yes
  • (array) $post_meta An array of post meta information.
    Required: Yes
  • (string) $location The location where the meta is shown. Accepts 'single-top' or 'single-bottom'.
    Required: Yes
Defined at:

Fires before post meta HTML display.

Allow output of additional post meta info to be added by child themes and plugins.


do_action( 'twentytwenty_start_of_post_meta_list', $post_id, $post_meta, $location );