���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/elirickard.com/wp-content/themes/micdrop/inc/justified-gallery/helper.php
���ѧ٧ѧ�
<?php if ( ! function_exists( 'micdrop_register_justified_gallery_scripts' ) ) { /** * Function that register module 3rd party scripts */ function micdrop_register_justified_gallery_scripts() { wp_register_script( 'jquery-justified-gallery', MICDROP_INC_ROOT . '/justified-gallery/assets/js/plugins/jquery.justifiedGallery.min.js', array( 'jquery' ), true ); } add_action( 'micdrop_action_before_main_js', 'micdrop_register_justified_gallery_scripts' ); } if ( ! function_exists( 'micdrop_include_justified_gallery_scripts' ) ) { /** * Function that enqueue modules 3rd party scripts * * @param array $atts */ function micdrop_include_justified_gallery_scripts( $atts ) { if ( isset( $atts['behavior'] ) && 'justified-gallery' === $atts['behavior'] ) { wp_enqueue_script( 'jquery-justified-gallery' ); } } add_action( 'micdrop_core_action_list_shortcodes_load_assets', 'micdrop_include_justified_gallery_scripts' ); } if ( ! function_exists( 'micdrop_register_justified_gallery_scripts_for_list_shortcodes' ) ) { /** * Function that set module 3rd party scripts for list shortcodes * * @param array $scripts * * @return array */ function micdrop_register_justified_gallery_scripts_for_list_shortcodes( $scripts ) { $scripts['jquery-justified-gallery'] = array( 'registered' => true, ); return $scripts; } add_filter( 'micdrop_core_filter_register_list_shortcode_scripts', 'micdrop_register_justified_gallery_scripts_for_list_shortcodes' ); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�