pairs = $pairs; } /** * Renders a shortcode. * * @since 1.0.0 * * @param array|string $atts Shortcode attributes if there are any. * @param string $content The enclosed content. * @param string $tag */ public function parse( $atts, $content, $tag ) { $this->args = shortcode_atts( $this->pairs, $atts, $tag ); $this->content = $content; return $this->render(); } }