: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* @package Themify Builder Pro
* @link https://themify.me/
class Tbp_Dynamic_Item_Shortcode extends Tbp_Dynamic_Item {
function get_category() {
return array( 'text', 'textarea', 'wp_editor', 'url', 'image' );
return __( 'Shortcode', 'tbp' );
function get_value( $args = array() ) {
return !empty($args['shortcode'])?do_shortcode( $args['shortcode'] ):'';
'label' => __( 'Shortcode', 'tbp' ),