Changeset 2947 for branches/plugin/bbp-includes/bbp-hooks.php
- Timestamp:
- 03/01/2011 05:56:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-hooks.php
r2944 r2947 110 110 add_action( 'bbp_new_reply', 'bbp_update_reply', 10, 6 ); 111 111 add_action( 'bbp_edit_reply', 'bbp_update_reply', 10, 6 ); 112 if ( is_admin() ) 113 add_action( 'wp_insert_post', 'bbp_new_reply_admin_handler', 10, 2 ); 112 114 113 115 // Before Delete/Trash/Untrash Reply … … 126 128 add_action( 'bbp_new_topic', 'bbp_update_topic', 10, 5 ); 127 129 add_action( 'bbp_edit_topic', 'bbp_update_topic', 10, 5 ); 130 if ( is_admin() ) 131 add_action( 'wp_insert_post', 'bbp_new_topic_admin_handler', 10, 2 ); 128 132 129 133 // Split/Merge Topic
Note: See TracChangeset
for help on using the changeset viewer.