I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Reply To: Plugin Overrides

dashed-slug.net Forums General discussion Plugin Overrides Reply To: Plugin Overrides

#3835
alexg
Keymaster

public function shortcode( $atts, $content = ”, $tag ) {
$view = preg_replace( ‘/^wallets_/’, ”, $tag );

$atts = shortcode_atts(
array(
‘template’ => ‘default’,
‘views_dir’ => apply_filters( ‘wallets_views_dir’, __DIR__ . ‘/views’ ),
), $atts, “wallets_$view”
);