Created
June 2, 2016 23:29
-
-
Save joelstransky/49237f436e6f59f5d6f39d5b1e069bd5 to your computer and use it in GitHub Desktop.
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
<?php | |
use Roots\Sage\Assets; | |
add_filter('wp_enqueue_scripts', 'forms_docs_scripts'); | |
function forms_docs_scripts() { | |
// var_dump(Assets\asset_path('scripts/forms-docs.ajax.js')); | |
wp_enqueue_scripts( 'forms-docs-scripts', Assets\asset_path('scripts/forms-docs.ajax.js'), array('jquery') ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment