Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-bulk-.../includes/admin
File: support-page.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Admin Support & help page
[2] Fix | Delete
*
[3] Fix | Delete
* @package WP_Bulk_Delete
[4] Fix | Delete
* @subpackage Admin/Pages
[5] Fix | Delete
* @copyright Copyright (c) 2016, Dharmesh Patel
[6] Fix | Delete
* @since 1.1.1
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
// Exit if accessed directly
[10] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) exit;
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* Support & help Page
[14] Fix | Delete
*
[15] Fix | Delete
* Render the Support & help page
[16] Fix | Delete
*
[17] Fix | Delete
* @since 1.1.1
[18] Fix | Delete
* @return void
[19] Fix | Delete
*/
[20] Fix | Delete
function wpbd_render_support_page(){
[21] Fix | Delete
$open_source_support_url = 'https://wordpress.org/support/plugin/wp-bulk-delete/';
[22] Fix | Delete
$support_url = 'https://xylusthemes.com/support/?utm_source=insideplugin&utm_medium=web&utm_content=sidebar&utm_campaign=freeplugin';
[23] Fix | Delete
[24] Fix | Delete
$review_url = 'https://wordpress.org/support/plugin/wp-bulk-delete/reviews/?rate=5#new-post';
[25] Fix | Delete
$facebook_url = 'https://www.facebook.com/xylusinfo/';
[26] Fix | Delete
$twitter_url = 'https://twitter.com/XylusThemes/';
[27] Fix | Delete
?>
[28] Fix | Delete
<div class="wrap">
[29] Fix | Delete
<h2><?php esc_html_e('Support & Help','wp-bulk-delete'); ?></h2>
[30] Fix | Delete
<div id="poststuff">
[31] Fix | Delete
<div id="post-body" class="metabox-holder columns-2">
[32] Fix | Delete
[33] Fix | Delete
<div id="postbox-container-1" class="postbox-container">
[34] Fix | Delete
<?php do_action('wpbd_admin_sidebar'); ?>
[35] Fix | Delete
</div>
[36] Fix | Delete
[37] Fix | Delete
<div id="postbox-container-2" class="postbox-container">
[38] Fix | Delete
[39] Fix | Delete
<div class="wpbd_well">
[40] Fix | Delete
<h3><?php esc_attr_e( 'Getting Support', 'wp-bulk-delete' ); ?></h3>
[41] Fix | Delete
<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>
[42] Fix | Delete
<p><?php _e( 'Our support team is always around to help you.','wp-bulk-delete' ); ?></p>
[43] Fix | Delete
[44] Fix | Delete
<p><strong><?php _e( 'Looking for free support?','wp-bulk-delete' ); ?></strong></p>
[45] Fix | Delete
<a class="button button-secondary" href="<?php echo $open_source_support_url; ?>" target="_blank" >
[46] Fix | Delete
<?php _e( 'Open-source forum on WordPress.org','wp-bulk-delete' ); ?>
[47] Fix | Delete
</a>
[48] Fix | Delete
[49] Fix | Delete
<p><strong><?php _e( 'Looking for more immediate support?','wp-bulk-delete' ); ?></strong></p>
[50] Fix | Delete
<p><?php _e( 'We offer premium support on our website with the purchase of our premium plugins.','wp-bulk-delete' ); ?>
[51] Fix | Delete
</p>
[52] Fix | Delete
[53] Fix | Delete
<a class="button button-primary" href="<?php echo $support_url; ?>" target="_blank" >
[54] Fix | Delete
<?php _e( 'Contact us directly (Premium Support)','wp-bulk-delete' ); ?>
[55] Fix | Delete
</a>
[56] Fix | Delete
[57] Fix | Delete
<p><strong><?php _e( 'Enjoying Import Facebook Events or have feedback?','wp-bulk-delete' ); ?></strong></p>
[58] Fix | Delete
<a class="button button-secondary" href="<?php echo $review_url; ?>" target="_blank" ><?php _e( 'Leave us a review','wp-bulk-delete' ); ?></a>
[59] Fix | Delete
<a class="button button-secondary" href="<?php echo $twitter_url; ?>" target="_blank" ><?php _e( 'Follow us on Twitter','wp-bulk-delete' ); ?></a>
[60] Fix | Delete
<a class="button button-secondary" href="<?php echo $facebook_url; ?>" target="_blank" ><?php _e( 'Like us on Facebook','wp-bulk-delete' ); ?></a>
[61] Fix | Delete
</div>
[62] Fix | Delete
[63] Fix | Delete
<?php
[64] Fix | Delete
$plugins = array();
[65] Fix | Delete
$plugin_list = wpbulkdelete()->api->get_xyuls_themes_plugins();
[66] Fix | Delete
if( !empty( $plugin_list ) ){
[67] Fix | Delete
foreach ($plugin_list as $key => $value) {
[68] Fix | Delete
$plugins[] = wpbulkdelete()->api->get_wporg_plugin( $key );
[69] Fix | Delete
}
[70] Fix | Delete
}
[71] Fix | Delete
?>
[72] Fix | Delete
<div class="" style="margin-top: 20px;">
[73] Fix | Delete
<h3 class="setting_bar"><?php _e( 'Plugins you should try','wp-bulk-delete' ); ?></h3>
[74] Fix | Delete
<?php
[75] Fix | Delete
if( !empty( $plugins ) ){
[76] Fix | Delete
foreach ($plugins as $plugin ) {
[77] Fix | Delete
?>
[78] Fix | Delete
<div class="plugin_box">
[79] Fix | Delete
<?php if( $plugin->banners['low'] != '' ){ ?>
[80] Fix | Delete
<img src="<?php echo $plugin->banners['low']; ?>" class="plugin_img" title="<?php echo $plugin->name; ?>">
[81] Fix | Delete
<?php } ?>
[82] Fix | Delete
<div class="plugin_content">
[83] Fix | Delete
<h3><?php echo $plugin->name; ?></h3>
[84] Fix | Delete
[85] Fix | Delete
<?php wp_star_rating( array(
[86] Fix | Delete
'rating' => $plugin->rating,
[87] Fix | Delete
'type' => 'percent',
[88] Fix | Delete
'number' => $plugin->num_ratings,
[89] Fix | Delete
) );?>
[90] Fix | Delete
[91] Fix | Delete
<?php if( $plugin->version != '' ){ ?>
[92] Fix | Delete
<p><strong><?php _e( 'Version:','wp-bulk-delete' ); ?> </strong><?php echo $plugin->version; ?></p>
[93] Fix | Delete
<?php } ?>
[94] Fix | Delete
[95] Fix | Delete
<?php if( $plugin->requires != '' ){ ?>
[96] Fix | Delete
<p><strong><?php _e( 'Requires:','wp-bulk-delete' ); ?> </strong> <?php _e( 'WordPress ','wp-bulk-delete' ); echo $plugin->requires; ?>+</p>
[97] Fix | Delete
<?php } ?>
[98] Fix | Delete
[99] Fix | Delete
<?php if( $plugin->active_installs != '' ){ ?>
[100] Fix | Delete
<p><strong><?php _e( 'Active Installs:','wp-bulk-delete' ); ?> </strong><?php echo $plugin->active_installs; ?>+</p>
[101] Fix | Delete
<?php } ?>
[102] Fix | Delete
[103] Fix | Delete
<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">
[104] Fix | Delete
<?php _e( 'Install Now','wp-bulk-delete' ); ?>
[105] Fix | Delete
</a>
[106] Fix | 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">
[107] Fix | Delete
<?php _e( 'Buy Now','wp-bulk-delete' ); ?>
[108] Fix | Delete
</a>
[109] Fix | Delete
</div>
[110] Fix | Delete
</div>
[111] Fix | Delete
<?php
[112] Fix | Delete
}
[113] Fix | Delete
}
[114] Fix | Delete
?>
[115] Fix | Delete
<div style="clear: both;">
[116] Fix | Delete
</div>
[117] Fix | Delete
[118] Fix | Delete
</div>
[119] Fix | Delete
</div>
[120] Fix | Delete
<br class="clear">
[121] Fix | Delete
</div>
[122] Fix | Delete
[123] Fix | Delete
</div><!-- /.wrap -->
[124] Fix | Delete
<?php
[125] Fix | Delete
}
[126] Fix | Delete
[127] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function