Uses
Uses | Description |
---|---|
wp-includes/plugin.php: add_action() | Hooks a function on to a specific action. |
Adds the future post hook action for the post type.
File: wp-includes/class-wp-post-type.php
public function add_hooks() { add_action( 'future_' . $this->name, '_future_post_hook', 5, 2 ); }
Version | Description |
---|---|
4.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_post_type/add_hooks