| @@ 188-193 (lines=6) @@ | ||
| 185 | ); |
|
| 186 | } |
|
| 187 | if ( $slug === 'pod_before_template' ) { |
|
| 188 | if ( !isset( $template_post_blocks[ 'before' ][ $atts[ 'pod' ] ] ) ) { |
|
| 189 | $template_post_blocks[ 'before' ][ $atts[ 'pod' ] ] = pods_do_shortcode( frontier_decode_template( $code, $atts ), array( |
|
| 190 | 'if', |
|
| 191 | 'else' |
|
| 192 | ) ); |
|
| 193 | } |
|
| 194 | ||
| 195 | } |
|
| 196 | elseif ( $slug === 'pod_after_template' ) { |
|
| @@ 196-203 (lines=8) @@ | ||
| 193 | } |
|
| 194 | ||
| 195 | } |
|
| 196 | elseif ( $slug === 'pod_after_template' ) { |
|
| 197 | if ( !isset( $template_post_blocks[ 'after' ][ $atts[ 'pod' ] ] ) ) { |
|
| 198 | $template_post_blocks[ 'after' ][ $atts[ 'pod' ] ] = pods_do_shortcode( frontier_decode_template( $code, $atts ), array( |
|
| 199 | 'if', |
|
| 200 | 'else' |
|
| 201 | ) ); |
|
| 202 | } |
|
| 203 | } |
|
| 204 | ||
| 205 | return null; |
|
| 206 | } |
|