: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'title' => esc_html__('Breadcrumbs', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Enable Breadcrumbs on Pages.','accelerated-mobile-pages'),
'title' => esc_html__('Meta Information', 'accelerated-mobile-pages'),
'id' => 'ampforwp_subpages_list',
'title' => esc_html__('Subpages/ChildPages', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Shows a List of Subpages'),
'id' => 'ampforwp-pages-recent-posts',
'title' => esc_html__('Recent Posts below Content', 'accelerated-mobile-pages'),
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
esc_html__('Enable this option to show recent posts in AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-enable-recent-posts-below-related-in-single-page/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
'required' => array('amp-design-selector' , '=' , '4'),
'id' => 'ampforwp-pages-recentpost-date',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Recent Posts Date', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Enable this option to show data below each post of Recent post loop'),
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
'id' => 'ampforwp-pages-recentpost-image',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Image', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Enable this option to show image for each post of Recent post loop'),
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
'id' => 'ampforwp-pages-recentpost-excerpt',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Excerpt', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Enable this option to show excerpt for each post of Recent post loop'),
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
'id' =>'ampforwp-pages-recentpost-excerpt-len',
'tooltip-subtitle' => esc_html__('Enter the number of words Eg: 15','accelerated-mobile-pages'),
'title' => esc_html__('Excerpt Length','accelerated-mobile-pages'),
array('amp-design-selector', '=' , '4'),
array('ampforwp-pages-recentpost-excerpt', '=' , '1'),
'id' => 'ampforwp-pages-number-of-recent-posts',
'title' => esc_html__('Number of Recent Post', 'accelerated-mobile-pages'),
'required' => array('ampforwp-pages-recent-posts' , '=' , '1'),
'id' => 'ampforwp-page-social',
'title' => esc_html__('Social Icons', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Enable Social Sharing on Pages'),
'id' => 'ampforwp-page-sticky-social',
'title' => esc_html__('Sticky Social Icons', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Enable Social Sticky Icons on Pages'),
Redux::setSection( $opt_name, array(
'title' => esc_html__( 'Social Sharing', 'accelerated-mobile-pages' ),
'desc' => esc_html__('All the Social sharing and the social profile related settings are here','accelerated-mobile-pages'),
'id' => 'social-settings',
'title' => esc_html__('Social Settings', 'accelerated-mobile-pages'),
'layout_type' => 'accordion',
// Social Icons Option #3613
'id' => 'ampforwp-social-share',
'title' => esc_html__('Social Share', 'accelerated-mobile-pages'),
// Social Icons Position [Swift] #1722
'id' => 'swift-social-position',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
'default' => 'Single Sidebar (left side)',
'above-content' => 'Above Content',
'below-content' => 'Below Content'
'required' => array(array('amp-design-selector', '=', '4'),array('ampforwp-social-share', '=', '1') )
// Social Share links to AMP
'id' => 'ampforwp-social-share-amp',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Social Share links to AMP', 'accelerated-mobile-pages'),
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
esc_html__('Enable this option to share all your social links to AMP and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-share-social-links-to-amp/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
'required' => array(array('ampforwp-social-share', '=', '1'))
// Social No Follow links
'id' => 'ampforwp-social-no-follow',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('No Follow All Your Social Links', 'accelerated-mobile-pages'),
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
esc_html__('Enable this option to add no-follow to all your social links and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-no-follow-to-all-your-social-share-links/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
'required' => array(array('ampforwp-social-share', '=', '1'))
'id' => 'ampforwp-social-no-referrer',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('No Referrer All Your Social Links', 'accelerated-mobile-pages'),
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
esc_html__('Enable this option to add noreferrer to all your social links and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-noreferrer-to-all-your-social-share-links/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
'required' => array(array('ampforwp-social-share', '=', '1'))
'id' => 'ampforwp-social-no-opener',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('No Opener All Your Social Links', 'accelerated-mobile-pages'),
'tooltip-subtitle' => sprintf('%s <a href="%s" target="_blank">%s</a> %s',
esc_html__('Enable this option to add noopener to all your social links and', 'accelerated-mobile-pages'), esc_url('https://ampforwp.com/tutorials/article/how-to-add-noopener-to-all-your-social-share-links/'),esc_html__('Click Here','accelerated-mobile-pages'), esc_html__('for more info','accelerated-mobile-pages')),
'required' => array(array('ampforwp-social-share', '=', '1'))
'id' => 'add-this-support',
'title' => esc_html__('AddThis Share Buttons', 'accelerated-mobile-pages'),
'layout_type' => 'accordion',
'id' => 'enable-add-this-option',
'title' => esc_html__('Smart Sorting Share Buttons', 'accelerated-mobile-pages'),
'tooltip-subtitle' => sprintf('%s <a href="https://www.addthis.com/register" target="_blank">%s</a>, %s <a href="https://www.addthis.com/academy/how-to-customize-your-share-buttons-on-the-amp-for-wp-plugin" target="_blank">%s</a>',esc_html__('You are using the default AddThis share buttons. To customize your share buttons, create a free account at','accelerated-mobile-pages'),esc_html__('AddThis.com','accelerated-mobile-pages'),esc_html__('then activate the Inline Share Buttons. Once your buttons are activated, replace the default Pub ID and Tool ID with your personalized IDs. For instructions, visit','accelerated-mobile-pages'),esc_html__('here','accelerated-mobile-pages')),
'id' => 'addthis-floating-share',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Addthis Floating Share', 'accelerated-mobile-pages'),
'required' => array(array('enable-add-this-option', '=', '1'))
'id' => 'addthis-inline-share',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Addthis Inline Share', 'accelerated-mobile-pages'),
'required' => array(array('enable-add-this-option', '=', '1'))
'id' => 'swift-add-this-position',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
'default' => 'Single Sidebar (left side)',
'above-content' => 'Above Content',
'below-content' => 'Below Content'
'default' => 'below-content',
array('amp-design-selector', '=', '4'),
array('enable-add-this-option', '=', '1'),
array('single-design-type', '=', '1'),
array('addthis-inline-share', '=', '1'),
'id' => 'swift-layout-addthis-pos',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
'above-content' => 'Above Content',
'below-content' => 'Below Content'
'default' => 'below-content',
array('amp-design-selector', '=', '4'),
array('enable-add-this-option', '=', '1'),
array('single-design-type', '!=', '1'),
array('single-design-type', '!=', '6'),
array('addthis-inline-share', '=', '1'),
'id' => 'swift-layout-6-addthis-pos',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
'above-content' => 'Above Content',
'below-content' => 'Below Content'
'default' => 'above-content',
array('amp-design-selector', '=', '4'),
array('enable-add-this-option', '=', '1'),
array('single-design-type', '=', '6'),
array('addthis-inline-share', '=', '1'),
'id' => 'design-1-2-3-addthis-pos',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__( 'Position', 'accelerated-mobile-pages' ),
'above-content' => 'Above Content',
'below-content' => 'Below Content'
'default' => 'below-content',
array('amp-design-selector', '!=', '4'),
array('enable-add-this-option', '=', '1'),
array('addthis-inline-share', '=', '1'),
'id' => 'add-this-pub-id',
'title' => esc_html__('Pub ID', 'accelerated-mobile-pages'),
'class' => 'child_opt child_opt_arrow',
'required' => array('enable-add-this-option', '=' , '1'),
'default' => esc_html__('ra-5cc8551aa4f16f5c','accelerated-mobile-pages'),
'id' => 'add-this-widget-id',
'title' => esc_html__('Tool ID', 'accelerated-mobile-pages'),
'class' => 'child_opt child_opt_arrow',
'required' => array('enable-add-this-option', '=' , '1'),
'default' => esc_html__('cwgj','accelerated-mobile-pages'),
//Start Social Sticky Icon
'id' => 'sticky-social-settings',
'title' => esc_html__('Sticky Social', 'accelerated-mobile-pages'),
'layout_type' => 'accordion',
// Social Sticky Icons ON/OFF
'id' => 'enable-single-social-icons',
'title' => esc_html__('Sticky Social Sharing bar', 'accelerated-mobile-pages'),
'title' => esc_html__('Social Sharing', 'accelerated-mobile-pages'),
'layout_type' => 'accordion',
'required' => array(array('ampforwp-social-share', '=', '1'))
'id' => 'ampforwp-facebook-like-button',
'title' => esc_html__('Facebook Like Button', 'accelerated-mobile-pages'),
'id' => 'ampforwp-facebook-like-data-action',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Add Recommend Label', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Button text will be replaced from \'Like\' to \'Recommend\'', 'accelerated-mobile-pages'),
'required' => array('ampforwp-facebook-like-button', '=' , '1'),
'id' => 'ampforwp-facebook-like-width',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Width for Facebook like button', 'accelerated-mobile-pages'),
'required' => array('ampforwp-facebook-like-data-action', '=' , '1'),
'tooltip-subtitle' => esc_html__('Enter the width of Facebook like button in px, default value is 140.', 'accelerated-mobile-pages'),
'id' => 'enable-single-facebook-share',
//'required' => array('enable-single-social-icons', '=' , '1'),
'title' => esc_html__('Facebook', 'accelerated-mobile-pages'),
'id' => 'amp-facebook-app-id',
'class' => 'child_opt child_opt_arrow',
'title' => esc_html__('Facebook App ID', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('In order to use Facebook share you need to register an app ID, <a href="https://developers.facebook.com/apps" style="color:#93FCFF;" >You can register one here: https://developers.facebook.com/apps.', 'accelerated-mobile-pages'),
'required' => array(array('enable-single-facebook-share', '=' , '1'),array('amp-design-selector', '!=' , '4')),
'placeholder' => esc_html__('Enter your facebook app id','accelerated-mobile-pages'),
// Facebook Messenger ON/OFF
'id' => 'enable-single-facebook-share-messenger',
'title' => esc_html__('Facebook Messenger', 'accelerated-mobile-pages'),
'id' => 'amp-facebook-app-id-messenger',
'title' => esc_html__('Facebook App ID', 'accelerated-mobile-pages'),
'class' => 'child_opt child_opt_arrow',
'tooltip-subtitle' => sprintf( '%s <a style="color:#93FCFF;" href="%s" target="_blank">%s</a> %s <a style="color:#93FCFF;" href="%s" target="_blank">%s</a>',esc_html__('In order to use Facebook share you need to register an app ID','accelerated-mobile-pages'),esc_url("https://developers.facebook.com/apps"),esc_html__('here','accelerated-mobile-pages'),esc_html__('You can register one','accelerated-mobile-pages'),esc_url('https://developers.facebook.com/apps'),esc_html__('here','accelerated-mobile-pages') ),
'required' => array('enable-single-facebook-share-messenger', '=' , '1'),
'placeholder' => esc_html__('Enter your facebook app id','accelerated-mobile-pages'),
'id' => 'enable-single-twitter-share',
'title' => esc_html__('X', 'accelerated-mobile-pages'),
'id' => 'enable-single-twitter-share-handle',
'title' => esc_html__('X Handle', 'accelerated-mobile-pages'),
'required' => array('enable-single-twitter-share', '=' , '1'),
'placeholder' => esc_html__('username','accelerated-mobile-pages'),
'id' => 'enable-single-twitter-share-link',
'title' => esc_html__('Pretty Permalinks for X Share?', 'accelerated-mobile-pages'),
'tooltip-subtitle' => esc_html__('Enable this to have pretty links for twitter sharing'),
'required' => array('enable-single-twitter-share', '=' , '1'),
'id' => 'enable-single-email-share',
'title' => esc_html__('Email', 'accelerated-mobile-pages'),
'id' => 'enable-single-pinterest-share',
'title' => esc_html__('Pinterest', 'accelerated-mobile-pages'),
'id' => 'enable-single-linkedin-share',
'title' => esc_html__('LinkedIn', 'accelerated-mobile-pages'),
'id' => 'enable-single-whatsapp-share',
'title' => esc_html__('WhatsApp', 'accelerated-mobile-pages'),
'id' => 'enable-single-line-share',
'title' => esc_html__('Line', 'accelerated-mobile-pages'),
'id' => 'enable-single-vk-share',
'title' => esc_html__('VKontakte', 'accelerated-mobile-pages'),
'id' => 'enable-single-odnoklassniki-share',
'title' => esc_html__('Odnoklassniki', 'accelerated-mobile-pages'),
'id' => 'enable-single-reddit-share',
'title' => esc_html__('Reddit', 'accelerated-mobile-pages'),
'id' => 'enable-single-tumblr-share',
'title' => esc_html__('Tumblr', 'accelerated-mobile-pages'),
'id' => 'enable-single-telegram-share',
'title' => esc_html__('Telegram', 'accelerated-mobile-pages'),
'id' => 'enable-single-stumbleupon-share',
'title' => esc_html__('StumbleUpon', 'accelerated-mobile-pages'),
'id' => 'enable-single-wechat-share',
'title' => esc_html__('Wechat', 'accelerated-mobile-pages'),
'id' => 'enable-single-viber-share',
'title' => esc_html__('Viber', 'accelerated-mobile-pages'),
'id' => 'enable-single-hatena-bookmarks',
'title' => esc_html__('Hatena Bookmarks', 'accelerated-mobile-pages'),