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>';
}
?>