ap_post_field( string $field = null, object|integer|null $_post = null )

Description #

Echo specific post field.

Parameters #

  • $field
    string (Optional) Post field name. Default value: null
  • $_post
    object | integer | null (Optional) Post ID, Object or null. Default value: null

Source #

File: includes/qameta.php

function ap_post_field( $field = null, $_post = null ) {
	echo ap_get_post_field( $field, $_post ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment