$atts
$atts : array
Holds the shortcode attributes
The shortcode class. Loads and registers our plugin's shortcode.
init(array $atts) : string
Initiate our class. Gets shortcode atts and if id exists it builds our object and split view. Ohterwise, it retunrs an error message saying that the id is required.
| array | $atts | array of attributes for the shortcode. |
html for the split view or error message