Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Archive shortcode docs incorrect?

$
0
0

Replies: 0

The documentation about customizing the date field for the mailpoet_archive shortcode says that you need to filter on mailpoet_archive_date:

add_filter('mailpoet_archive_date','my_mailpoet_archive_date',99);

Which doesn’t work.

In digging through the plugin code it looks like it should be mailpoet_archive_email_processed_date.

add_filter('mailpoet_archive_email_processed_date','my_mailpoet_archive_date',99);

…which does work!

I’d also like to put in a vote for a date range option for the archive shortcode! It would be nice to show all archives from a single year for example.

Alex

  • This topic was modified 15 minutes ago by wordHab.
  • This topic was modified 14 minutes ago by wordHab.

Viewing all articles
Browse latest Browse all 59525

Trending Articles