devs group
1 min readMay 18, 2020

--

Hi Tin Tin,

thank you for your question.

Basically you would replace

add_action(‘admin_enqueue_scripts’, [ $this, ‘load_scripts’ ]);

with

add_action( ‘wp_enqueue_scripts’, [ $this, ‘load_scripts’, ] );

which loads the enqueued files in frontend.

--

--

No responses yet