Provider::remove_recurring_info_tooltip( string $html, int $post_id )
Removes the recurring info tooltip from the classic event single.
Contents
Parameters
- $html
-
(string) (Required) The HTML code for the notice.
- $post_id
-
(int) (Required) Post ID of the event.
Return
(string) HTML string for tooltip.
Source
File: src/Events_Pro/Custom_Tables/V1/Templates/Provider.php
public function remove_recurring_info_tooltip( $html, $post_id ) {
if ( ! is_singular( TEC::POSTTYPE ) ) {
return $html;
}
$this->container->make( Single_Event_Modifications::class )
->do_not_render_recurring_info_tooltip( $post_id );
return $html;
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |