WordPress at a glance
function is not described

WP_Post_Type::add_hooks() WP 4.6.0

Adds the future post hook action for the post type.

This is a method of the class: WP_Post_Type

No Hooks.

Return

Null. Nothing.

Usage

$WP_Post_Type = new WP_Post_Type();
$var = $WP_Post_Type->add_hooks();

Changelog

Since 4.6.0 Introduced.

Code of WP Post Type::add hooks: wp-includes/class-wp-post-type.php WP 5.2.2

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