twentytwenty_end_of_post_meta_list

动作钩子


do_action( 'twentytwenty_end_of_post_meta_list', $post_id, $post_meta, $location )
参数
  • (int)
    $post_id
    Post ID.
    Required:
  • (array)
    $post_meta
    An array of post meta information.
    Required:
  • (string)
    $location
    The location where the meta is shown.
    Accepts ‘single-top’ or ‘single-bottom’.
    Required:
定义位置
  • wp-content/themes/twentytwenty/inc/template-tags.php , line 486
引入
Twenty Twenty 1.1 Added the `$post_meta` and `$location` parameters.
弃用

Fires after post meta HTML display.

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

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