: 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_SiteIcon extends Tbp_Dynamic_Item {
function get_category() {
return __( 'Site Icon', 'tbp' );
function get_value( $args = array() ) {
$size = isset($args['size'])?(int)$args['size']:512;
$value = get_site_icon_url($size );
'label' => __( 'Size', 'tbp' ),
'help' => sprintf( __( 'Configured in <a href="%s" target="_blank">Customizer</a> > Site Identity tab.', 'tbp' ), admin_url( 'customize.php' ) ),