Changed location of react components to .../assets/js/react/components

This commit is contained in:
Jeremy Rangel
2024-12-30 18:59:57 -08:00
parent 4b78f9f571
commit a8b4dc6b70
5 changed files with 0 additions and 135 deletions

View File

@ -40,25 +40,6 @@ function lcp_backend_enqueue() {
add_action('admin_enqueue_scripts', 'lcp_enqueue');
// Backend enqueue
function lcp_enqueue_svg_repeater_script($hook) {
// Only enqueue on the theme settings page
// if ($hook !== 'settings_page_lcp-theme-settings') {
// return;
// }
// Enqueue the script with a dependency on jQuery
wp_enqueue_script(
'lcp-svg-repeater', // Handle for the script
get_template_directory_uri() . '/assets/js/backend-script.js', // Path to your JS file
array(), // Dependency on jQuery
null, // No specific version
true // Load in footer (true)
);
}
add_action('admin_enqueue_scripts', 'lcp_enqueue_svg_repeater_script');
/* KEY POINTS */
function add_key_points_meta_box() {