Last active
April 3, 2020 20:22
-
-
Save wlarch/4f07057be81512729d705c11cb277d39 to your computer and use it in GitHub Desktop.
wordpress-iframe-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_enqueue_scripts', 'child_theme_enqueue_scripts', PHP_INT_MAX); | |
function child_theme_enqueue_scripts() { | |
wp_enqueue_script('iframe-script', get_stylesheet_directory_uri() . '/js/iframe.js', ['jquery'], uniqid(), true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment