• I’m creating a custom Gutenberg block. I’m looking for a way to get the template directory URI within that Gutenberg block. Specifically I want to use an image in the theme directory as part of an example, but don’t want to hard code the URLs. Essentially looking for a Gutenberg equivalent to get_template_directory_uri().

  • The topic ‘Is there a method to get the template directory URI in Gutenberg?’ is closed to new replies.