Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Gist for my tutorial "Building a Gutenberg sidebar plugin Part 1: Registering the plugin with (oop) php".
class MetaTags {
public function enqueue_scripts() : void {
$this->pluginslug . '-scripts',
plugin_dir_url( __FILE__ ) . 'dist/js/metatags.js',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment