: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Admin Support & help page
* @package WP_Bulk_Delete
* @subpackage Admin/Pages
* @copyright Copyright (c) 2016, Dharmesh Patel
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
* Render the Support & help page
function wpbd_render_support_page(){
$open_source_support_url = 'https://wordpress.org/support/plugin/wp-bulk-delete/';
$support_url = 'https://xylusthemes.com/support/?utm_source=insideplugin&utm_medium=web&utm_content=sidebar&utm_campaign=freeplugin';
$review_url = 'https://wordpress.org/support/plugin/wp-bulk-delete/reviews/?rate=5#new-post';
$facebook_url = 'https://www.facebook.com/xylusinfo/';
$twitter_url = 'https://twitter.com/XylusThemes/';
<h2><?php esc_html_e('Support & Help','wp-bulk-delete'); ?></h2>
<div id="post-body" class="metabox-holder columns-2">
<div id="postbox-container-1" class="postbox-container">
<?php do_action('wpbd_admin_sidebar'); ?>
<div id="postbox-container-2" class="postbox-container">
<h3><?php esc_attr_e( 'Getting Support', 'wp-bulk-delete' ); ?></h3>
<p><?php _e( 'Thank you for using Import Facebook Events, We sincerely appreciate your support and we’re excited to see you using our plugins.','wp-bulk-delete' ); ?> </p>
<p><?php _e( 'Our support team is always around to help you.','wp-bulk-delete' ); ?></p>
<p><strong><?php _e( 'Looking for free support?','wp-bulk-delete' ); ?></strong></p>
<a class="button button-secondary" href="<?php echo $open_source_support_url; ?>" target="_blank" >
<?php _e( 'Open-source forum on WordPress.org','wp-bulk-delete' ); ?>
<p><strong><?php _e( 'Looking for more immediate support?','wp-bulk-delete' ); ?></strong></p>
<p><?php _e( 'We offer premium support on our website with the purchase of our premium plugins.','wp-bulk-delete' ); ?>
<a class="button button-primary" href="<?php echo $support_url; ?>" target="_blank" >
<?php _e( 'Contact us directly (Premium Support)','wp-bulk-delete' ); ?>
<p><strong><?php _e( 'Enjoying Import Facebook Events or have feedback?','wp-bulk-delete' ); ?></strong></p>
<a class="button button-secondary" href="<?php echo $review_url; ?>" target="_blank" ><?php _e( 'Leave us a review','wp-bulk-delete' ); ?></a>
<a class="button button-secondary" href="<?php echo $twitter_url; ?>" target="_blank" ><?php _e( 'Follow us on Twitter','wp-bulk-delete' ); ?></a>
<a class="button button-secondary" href="<?php echo $facebook_url; ?>" target="_blank" ><?php _e( 'Like us on Facebook','wp-bulk-delete' ); ?></a>
$plugin_list = wpbulkdelete()->api->get_xyuls_themes_plugins();
if( !empty( $plugin_list ) ){
foreach ($plugin_list as $key => $value) {
$plugins[] = wpbulkdelete()->api->get_wporg_plugin( $key );
<div class="" style="margin-top: 20px;">
<h3 class="setting_bar"><?php _e( 'Plugins you should try','wp-bulk-delete' ); ?></h3>
if( !empty( $plugins ) ){
foreach ($plugins as $plugin ) {
<?php if( $plugin->banners['low'] != '' ){ ?>
<img src="<?php echo $plugin->banners['low']; ?>" class="plugin_img" title="<?php echo $plugin->name; ?>">
<div class="plugin_content">
<h3><?php echo $plugin->name; ?></h3>
<?php wp_star_rating( array(
'rating' => $plugin->rating,
'number' => $plugin->num_ratings,
<?php if( $plugin->version != '' ){ ?>
<p><strong><?php _e( 'Version:','wp-bulk-delete' ); ?> </strong><?php echo $plugin->version; ?></p>
<?php if( $plugin->requires != '' ){ ?>
<p><strong><?php _e( 'Requires:','wp-bulk-delete' ); ?> </strong> <?php _e( 'WordPress ','wp-bulk-delete' ); echo $plugin->requires; ?>+</p>
<?php if( $plugin->active_installs != '' ){ ?>
<p><strong><?php _e( 'Active Installs:','wp-bulk-delete' ); ?> </strong><?php echo $plugin->active_installs; ?>+</p>
<a class="button button-secondary" href="<?php echo admin_url( 'plugin-install.php?tab=plugin-information&plugin='. $plugin->slug.'&TB_iframe=1&width=772&height=600'); ?>" target="_blank">
<?php _e( 'Install Now','wp-bulk-delete' ); ?>
<a class="button button-primary" href="<?php echo $plugin->homepage . '?utm_source=crosssell&utm_medium=web&utm_content=supportpage&utm_campaign=freeplugin'; ?>" target="_blank">
<?php _e( 'Buy Now','wp-bulk-delete' ); ?>
<div style="clear: both;">