- Add postie_subject filter
Filter: postie_subject
This filter is called after the subject has been determined. Note that the subject can be in the email subject or the email body. You could use this filter to modify the subject before categories, post format and post type are detected.
add_filter('postie_subject', 'my_postie_subject'); function my_postie_subject($subject) { return '[promo] ' . $subject; // force the addition of the promo category }
1.9.52 Released
- Fix issue with detecting categories when there are multiple colons in the subject line
1.9.47-1.9.51 Released
A series of releases to help track down an environmental issue for a customer.
1.9.46 Released
- escape IMAP password
- fix logging in get_parent_postid
- ensure any modification by shortcode are retained
1.9.45 Released
- Fix email notification bug
Action: postie_register_shortcode_pre
This action is called just before postie_post_before.
You use this action to register any Postie specific shortcodes.
<?php function my_postie_register_shortcode_pre() { //register any Postie shortcodes add_shortcode('myshortcode', 'my_shortcode'); } add_action('postie_register_shortcode_pre', 'my_postie_register_shortcode_pre'); // works like a standard shortcode function my_shortcode($att, $content = null) { global $postie_post; // the current post return '<p>My shortcode</p>'; } ?>
1.9.44 Released
- refactoring to separate email fetch from email processing
- add postie_register_shortcode_pre action for registering Postie shortcodes
1.9.43 Released
- Begin migration of shortcode support into Postie main
1.9.42 Released
- Fix: signature stripping in html emails was failing sometimes