public function enqueue( $main )
    {
        wp_enqueue_script(
            'wpmvc-updater',
            addon_assets_url( 'js/updater.js', __FILE__ ),
            ['jquery'],
            $main->config->get( 'version' ),
            true
        );
        wp_enqueue_style(
            'wpmvc-updater',
            addon_assets_url( 'css/updater.css', __FILE__ ),
            [],
            $main->config->get( 'version' )
        );
    }
public function enqueue( $main )
    {
        wp_enqueue_script(
            'wpmvc-updater',
            addon_assets_url( 'js/updater.js', __FILE__ ),
            ['jquery'],
            $main->config->get( 'version' ),
            true
        );
        wp_enqueue_style(
            'wpmvc-updater',
            addon_assets_url( 'css/updater.css', __FILE__ ),
            [],
            $main->config->get( 'version' )
        );
    }
public function enqueue ( $ main ) { wp_enqueue_script ( 'wpmvc-updater' , addon_assets_url ( 'js/updater.js' , __FILE__ ) , [ 'jquery' ] , $ main -> config -> get ( 'version' ) , true ) ; wp_enqueue_style ( 'wpmvc-updater' , addon_assets_url ( 'css/updater.css' , __FILE__ ) , [ ] , $ main -> config -> get ( 'version' ) ) ; }
Enqueues assets.
Action "admin_enqueue_scripts".
Wordpress hook.
@since 1.0.0
Enqueues assets . Action admin_enqueue_scripts . Wordpress hook .