Hooks::manage_sensitive_info( WP_Post|int $post )
Fires to manage sensitive information on password protected posts.
Contents
Parameters
- $post
-
(WP_Post|int) (Required) The event post ID or object currently being decorated.
Source
File: src/Tribe/Views/V2/Hooks.php
public function manage_sensitive_info( $post ) {
if ( $this->container->make( Template_Bootstrap::class )->is_single_event() ) {
$this->container->make( Template\Event::class )->manage_sensitive_info( $post );
}
}
Changelog
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |