- Timestamp:
- Feb 13, 2009, 5:09:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/notify_functions.php
r61 r91 1 1 <?php 2 2 3 function onaction_publish_post_notify($ post_id)3 function onaction_publish_post_notify($new_status, $old_status, $post) 4 4 { 5 include_once ABSPATH . '/include/notification.inc.sub.php'; 6 do_PostNotifications($post_id,'newpost'); 5 if ($new_status == 'publish'){ 6 include_once dirname(__FILE__) . '/notification.inc.sub.php'; 7 do_PostNotifications($post->ID,'newpost'); 8 } 7 9 } 10 8 11 function onaction_edit_post_notify($post_id) 9 12 {
Note: See TracChangeset
for help on using the changeset viewer.