diff --git a/WordPress/Docs/WP/EnqueuedResourcesStandard.xml b/WordPress/Docs/WP/EnqueuedResourcesStandard.xml new file mode 100644 index 0000000000..3857df3d7c --- /dev/null +++ b/WordPress/Docs/WP/EnqueuedResourcesStandard.xml @@ -0,0 +1,53 @@ + + + + + + + wp_enqueue_script( + 'someScript-js', + $path_to_file, + array( 'jquery' ), + '1.0.0', + true +); + ]]> + + + ', + esc_url( $path_to_file ) +); + ]]> + + + + + + + + wp_enqueue_style( + 'style-name', + $path_to_file, + array(), + '1.0.0' +); + ]]> + + + ', + esc_url( $path_to_file ) +); + ]]> + + +