Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/29/2018 07:14:02 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Counts: introduce sub-action for post status transitions.

We'll use this for micro-managing child post counts on a per-type, per-status basis.

See #1799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/actions.php

    r6780 r6792  
    5454add_action( 'wp_head',                  'bbp_head',                   10    );
    5555add_action( 'wp_footer',                'bbp_footer',                 10    );
     56add_action( 'transition_post_status',   'bbp_transition_post_status', 10, 3 );
    5657
    5758/**
Note: See TracChangeset for help on using the changeset viewer.