Hooks::action_shortcode_toggle_hooks( string $slug, array $params, WP_REST_Request $request )
Possibly loads all the shortcode hooks.
Contents
Parameters
- $slug
-
(string) (Required) The current view Slug.
- $params
-
(array) (Required) Params so far that will be used to build this view.
- $request
-
(WP_REST_Request) (Required) The rest request that generated this call.
Source
File: src/Tribe/Admin/Manager/Hooks.php
public function action_shortcode_toggle_hooks( $slug, $params, Request $request ) { $this->container->make( Shortcode::class )->maybe_toggle_hooks_for_rest( $slug, $params, $request ); }
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |