WP_Post_Type::add_hooks()

Adds the future post hook action for the post type.


Description Description


Source Source

File: wp-includes/class-wp-post-type.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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