Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Zoom_Helpers::load_scripts( mixed $hook )
load_scripts
Contents
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Parameters Parameters
- $hook
(Required)
Return Return
(void)
Source Source
File: src/integrations/zoom/helpers/zoom-helpers.php
public function load_scripts( $hook ) { if ( 'post.php' !== $hook ) { return; } if ( 'uo-recipe' != get_current_screen()->post_type ) { return; } $script_uri = plugin_dir_url( __FILE__ ) . '../scripts/zoom-meetings.js'; wp_enqueue_script( 'zoom-meetings', $script_uri, array ( 'jquery' ), InitializePlugin::PLUGIN_VERSION, true ); }
Expand full source code Collapse full source code View on Github