Title: Hide expiration date
Last modified: March 9, 2018

---

# Hide expiration date

 *  Resolved [xjamasterx](https://wordpress.org/support/users/xjamasterx/)
 * (@xjamasterx)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-expiration-date/)
 * I’d like to hide the ad expiration date on the Manage page. How do I do that?
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [xjamasterx](https://wordpress.org/support/users/xjamasterx/)
 * (@xjamasterx)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-expiration-date/#post-10059300)
 * I just figured out how to do that.
 * Is there a way to change the date format on the Manage page to Month/Day/Year
   instead of the default, which is Year/Month/Day?
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-expiration-date/#post-10064133)
 * WPAdverts is using the WP date format set in wp-admin / Settings panel.
 *  Thread Starter [xjamasterx](https://wordpress.org/support/users/xjamasterx/)
 * (@xjamasterx)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-expiration-date/#post-10067522)
 * That’s not the case for us. In the back end wp-admin / Settings panel we have
   it set to say “March 12, 2018”.
 * However, in the plugin it shows 2018/3/12.
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-expiration-date/#post-10068617)
 * Add in your theme functions.php file the code below
 *     ```
       add_filter( "adverts_sh_manage_date", "my_adverts_sh_manage_date", 10, 2 );
       function my_adverts_sh_manage_date( $date, $post ) {
           $expires = get_post_meta( $post->ID, "_expiration_date", true );
           return date_i18n( __( 'm/d/Y' ), $expires );
       }
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide expiration date’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/hide-expiration-date/#post-10068617)
 * Status: resolved