Open wernerkrauss opened 9 years ago
Or use config system?
Came around this issue defining a new
class Foo extends Object implements Shortcodable
But some configuration for this would still be need for better encapsulation
Happy to merge a PR using the config system. Please update the readme too :)
I e.g. have a Youtube shortcode that should be handled by a class YoutubeShortcode.
I propose to add an (optional) method getShortcodeName() to get it. I can submit a PR if you want me to.