generate_post_date_show_updated_only

generate_post_date_show_updated_only

By default, the HTML for the published date and updated date (if it exists) is added to your site. The updated date is hidden with CSS.

If you only want the updated date HTML to display use the generate_post_date_show_updated_only below:

add_filter( 'generate_post_date_show_updated_only', '__return_true' );

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註