Skip to content

Commit

Permalink
Issue #138 - ensure shortcodes are expnded in the oik/shortcode-block
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Jan 21, 2020
1 parent b66a65e commit fad4780
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shortcodes/oik-shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ function oik_shortcode_block( $attributes ) {

//BW_::p( $shortcode );
///BW_::p( $content );
///
do_action( "oik_add_shortcodes" );

$result = bw_shortcode_event( $attributes, $content, $shortcode );
if ( null === $result ) {
$result = "<!-- No result for shortcode $shortcode -->";
}

return $result;

Expand Down

0 comments on commit fad4780

Please sign in to comment.