: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace TwitterFeed\Builder\Tabs;
if(!defined('ABSPATH')) exit;
class CTF_Builder_Customizer_Tab{
public static function get_customizer_tabs(){
'heading' => __( 'Customize', 'custom-twitter-feeds' ),
'sections' => CTF_Customize_Tab::get_sections()
'heading' => __( 'Settings', 'custom-twitter-feeds' ),
'sections' => CTF_Settings_Tab::get_sections()
public static function get_text_size_options(){
'inherit' => __( 'Inherit', 'custom-twitter-feeds' ),
public static function get_header_icons_options(){
'facebook-square' => 'Facebook 1',
'facebook' => 'Facebook 2',
'calendar' => 'Events 1',
'calendar-o' => 'Events 2',
'thumbs-o-up' => 'Thumbs Up 1',
'thumbs-up' => 'Thumbs Up 2',
'comment-o' => 'Speech Bubble 1',
'comment' => 'Speech Bubble 2',
'list-alt' => 'News List',
'file-text-o' => 'File 4',
'youtube-play ' => 'Video',
'youtube-play' => 'YouTube',
'vimeo-square' => 'Vimeo',
public static function get_date_format_options(){
$original = strtotime('2016-07-25T17:30:00+0000');
'1' => __('2m','custom-twitter-feeds'),
'2' => date('F j', $original),
'3' => date('F j, Y', $original),
'4' => date('m.d', $original),
'5' => date('m.d.y', $original),
'6' => date('D M jS, Y', $original),
'7' => date('l F jS, Y', $original),
'8' => date('l F jS, Y - g:i a', $original),
'9' => date("l M jS, 'y", $original),
'10' => date('m.d.y', $original),
'18' => date('m.d.y - G:i', $original),
'11' => date('m/d/y', $original),
'12' => date('d.m.y', $original),
'19' => date('d.m.y - G:i', $original),
'13' => date('d/m/y', $original),
'14' => date('d-m-Y, G:i', $original),
'15' => date('jS F Y, G:i', $original),
'16' => date('d M Y, G:i', $original),
'17' => date('l jS F Y, G:i', $original),
'18' => date('Y-m-d', $original),
'custom' => __('Custom','custom-twitter-feeds')