Server IP : 172.67.157.199 / Your IP : 18.189.180.60 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/wp-parsidate/includes/admin/ |
Upload File : |
<?php /** * RTL jQuery Datepicker * * @author Morteza Geransayeh * @package WP-Parsidate * @subpackage Admin/jQuery */ /** * Fixes jQuery Datepicker RTL style and code * * @return void * @since 3.0 */ function wpp_enqueue_datepicker_css() { wp_enqueue_style( 'wp-parsi-datepicker', WP_PARSI_URL . 'assets/css/jquery-ui.css', false, WP_PARSI_VER, 'all' ); } function wpp_enqueue_datepicker_scripts() { wp_register_script( 'wpp_ui_datepicker', WP_PARSI_URL . 'assets/js/jquery-ui.js', false, WP_PARSI_VER ); wp_register_script( 'wpp_datepicker_fa', WP_PARSI_URL . 'assets/js/datepicker.js', false, WP_PARSI_VER ); wp_enqueue_script( 'wpp_ui_datepicker' ); wp_enqueue_script( 'wpp_datepicker_fa' ); } add_action( 'admin_enqueue_scripts', 'wpp_enqueue_datepicker_css' ); add_action( 'admin_enqueue_scripts', 'wpp_enqueue_datepicker_scripts', 9999 );