bbp_merge_topic
bbp_merge_topic
Appears in: bbpress.2.5.14, bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: action
Displaying hooks found in version: bbpress.2.6.9do_action('bbp_merge_topic') is found 1 times:
- /includes/topics/functions.php line 1151114811491150115111521153115411551156
/** No Errors *************************************************************/
// Update counts, etc...
do_action(
'bbp_merge_topic'
,
$destination_topic
->ID,
$source_topic
->ID );
/** Date Check ************************************************************/
// Check if the destination topic is older than the source topic
if
(
strtotime
(
$source_topic
->post_date ) <
strtotime
(
$destination_topic
->post_date ) ) {