plugin_name = $plugin_name; $this->version = $version; } /** * Register the stylesheets for the public-facing side of the site. * * @since 1.0.0 */ public function aio_public_enqueue_styles() { $version = '5.13.0'; wp_enqueue_style( 'fa5', 'https://use.fontawesome.com/releases/v' . $version . '/css/all.css', array(), $version, 'all' ); wp_enqueue_style( 'fa5-v4-shims', 'https://use.fontawesome.com/releases/v' . $version . '/css/v4-shims.css', array(), $version, 'all' ); wp_enqueue_style( $this->plugin_name . '-public', AIO_URL . 'assets/css/aio-tools-public.css', array(), time(), 'all' ); } /** * Register the JavaScript for the public-facing side of the site. * * @since 1.0.0 */ public function aio_public_enqueue_scripts() { wp_enqueue_script( $this->plugin_name . '-public', AIO_URL . 'assets/js/aio-tools-public.js', array( 'jquery' ), time(), false ); } }