wppaste
WordPress

do_action( 'twentytwenty_end_of_post_meta_list', int $post_id, array $post_meta, string $location )

Since
Twenty Twenty 1.0, Twenty Twenty 1.1 Added the <code>$post_meta</code> and <code>$location</code> parameters.
Fires after post meta HTML display.

Description

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

Compatibility

WordPress
since Twenty Twenty 1.1 Added the <code>$post_meta</code> and <code>$location</code> parameters.
  • 6.7.10
  • 6.8.11
  • 6.9.10
  • 7.0.7
  • 7.1.3

Present in every tracked release (6.7.10 to 7.1.3).

Parameters

$post_idint
Post ID.
$post_metaarray
An array of post meta information.
$locationstring
The location where the meta is shown.
Accepts 'single-top' or 'single-bottom'.

Where this hook fires · 1

  • wp-content/themes/twentytwenty/inc/template-tags.php:512twentytwenty_get_post_meta()

Source code

				 *				 * @param int    $post_id   Post ID.				 * @param array  $post_meta An array of post meta information.				 * @param string $location  The location where the meta is shown.				 *                          Accepts 'single-top' or 'single-bottom'.				 */				do_action( 'twentytwenty_end_of_post_meta_list', $post_id, $post_meta, $location ); 				?> 			</ul><!-- .post-meta --> 		</div><!-- .post-meta-wrapper -->

Changelog

Introduced in Twenty Twenty 1.1 Added the <code>$post_meta</code> and <code>$location</code> parameters.. Unchanged from 6.7.10 through 7.1.3.

  1. 6.7.10
  2. 6.8.11
  3. 6.9.10
  4. 7.0.7
  5. 7.1.3

Signature, return type and hooks compared across 5 parsed releases.

Twenty Twenty 1.1 Added the <code>$post_meta</code> and <code>$location</code> parameters.
Twenty Twenty 1.1 Added the $post_meta and $location parameters.from the docblock
Twenty Twenty 1.0
Twenty Twenty 1.0from the docblock

About this page

Parsed data
Generated from the wordpress-develop 7.0.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.