• What i need add to functions.php?

    Plugin code

    $this->init_shipping_methods();
    
    				add_action( 'wp_footer', array($this, 'frontFooter'), 75 );
    
    public function frontFooter()
                {
                    
    	echo '<script async src="https://geowidget.easypack24.net/js/sdk-for-javascript.js"></script>';
    
                }
    • This topic was modified 3 years, 11 months ago by kacza.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to dequeue script only for front page’ is closed to new replies.