Skip to content
Snippets Groups Projects
Verified Commit 547719dc authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

php8 compatability fix

parent 754394f4
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ function lbdesign_button_shortcode( $atts, $content = null ) {
}
return '<a class="lbdesign_button ' . implode( $classes, " " ) . '" href="' . esc_url( $atts['link'] ) . '" ' . $target . '>' . do_shortcode( $content ) . '</a>';
return '<a class="lbdesign_button ' . implode( " ", $classes ) . '" href="' . esc_url( $atts['link'] ) . '" ' . $target . '>' . do_shortcode( $content ) . '</a>';
}
add_shortcode( 'lbdesign_button', 'lbdesign_button_shortcode' );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment