• As it stands, you can get the expiration date like $expiration_date = get_post_meta( $post->ID, '_expiration-date', true ); It would be great if there were a public method though b/c I’m assuming that _ means the value is not meant to be called directly.

    The plugin works well in general though. Thanks for writing it!

    https://ww.wp.xz.cn/plugins/post-expirator/

The topic ‘Public method for getting expiration date’ is closed to new replies.