I’m having this code: wp_register_script('parent','parent.js', array('child'), '1', true); wp_register_script('child', 'child.js', array('grandchild'), '1', true); wp_register_script('grandchild', 'grandchild.js', array(), '1', true); wp_enqueue_script('parent'); and it works fine, rendering grandchild.js, then child.js, then parent.js...
  • May 26, 2022
  • 0 Comments