Created
March 11, 2022 05:45
-
-
Save grantalltodavid/6011c15067f89ac527a2ac1fa1afd0f7 to your computer and use it in GitHub Desktop.
Sliced Invoices: allow shortcodes in invoice terms field
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'sliced_get_invoice_terms', 'si20220310_do_shortcodes_in_terms' ); | |
function si20220310_do_shortcodes_in_terms( $content ) { | |
return do_shortcode( $content ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment