Open bakkbone opened 6 months ago
So it turns out it's the underscore in my dependency key - perhaps the docs need to be updated to explain that the key can't contain an underscore (I'm assuming you explode the string by the underscores to get the key)
See comment below with solution
Steps to reproduce:
breakdance reusable dependencies_urls
as follows (redacted with fake url etc for privacy reasons):add_filter( 'breakdance_reusable_dependencies_urls', [$this, 'my_function'], PHP_INT_MAX ); function gravitydance_gf_styles($urls) { $urls['my_url'] = plugins_url('/assets/js/script.js', 'myplugin/myplugin.php'); return $urls; }
%%BREAKDANCE_REUSABLE_MY_URL%%
Result: