You appear to be a bot. Output may be restricted
Description
Retrieves and displays the post meta.
If it's a single post, outputs the post meta values specified in the Customizer settings.
Usage
twentytwenty_the_post_meta( $post_id, $location );
Parameters
- $post_id
- ( int ) optional – The ID of the post for which the post meta should be output.
- $location
- ( string ) optional default: single-top – Which post meta location to output – single or preview.
Returns
void
Source
File name: twentytwenty/inc/template-tags.php
Lines:
1 to 5 of 5
function twentytwenty_the_post_meta( $post_id = null, $location = 'single-top' ) { echo twentytwenty_get_post_meta( $post_id, $location ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped in twentytwenty_get_post_meta(). }