$atts Attributes. * @return string */ public function form( array $atts ): string { $atts = shortcode_atts( array( 'id' => 0, 'slug' => '', ), $atts, 'mrn_form' ); return $this->renderer->render( $atts['id'] ? $atts['id'] : sanitize_title( $atts['slug'] ) ); } }