Add shortcode filter
This commit is contained in:
@@ -52,6 +52,8 @@ class SP_Shortcodes {
|
|||||||
'after' => null
|
'after' => null
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
|
$wrapper = apply_filters( 'sportspress_shortcode_wrapper', $wrapper, $function, $atts );
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
$before = empty( $wrapper['before'] ) ? '<div class="' . esc_attr( $wrapper['class'] ) . '">' : $wrapper['before'];
|
$before = empty( $wrapper['before'] ) ? '<div class="' . esc_attr( $wrapper['class'] ) . '">' : $wrapper['before'];
|
||||||
|
|||||||
Reference in New Issue
Block a user