SLONline\CallToActions\ShortcodeableInterface
Synopsis
interface ShortcodeableInterface
{
- // methods
- public static string parse_shortcode()
- public string getCallToActionPlaceHolder()
- public void singular_name()
Methods
public
- getCallToActionPlaceHolder() — Returns a link to an image to be displayed as a placeholder in the editor In this example we make easy work of this task by using the placehold.it service But you could also return a link to an image in the filesystem - perharps the first image in this ImageGallery a placeholder
- parse_shortcode() — Parse the shortcode and render as a string, probably with a template
- singular_name()