WP_Post_Type::add_hooks()

In this article

Adds the future post hook action for the post type.

Source

public function add_hooks() {
	add_action( 'future_' . $this->name, '_future_post_hook', 5, 2 );
}

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.