Sindbad~EG File Manager
<?php
function thim_get_all_plugins_require() {
return array(
array(
'name' => 'RealPress – Real Estate Plugin',
'slug' => 'realpress',
),
array(
'name' => 'Elementor',
'slug' => 'elementor',
'icon' => 'https://ps.w.org/elementor/assets/icon-256x256.gif'
),
array(
'name' => 'Contact Form 7',
'slug' => 'contact-form-7',
'required' => false,
),
array(
'name' => 'MailChimp for WordPress',
'slug' => 'mailchimp-for-wp',
'required' => false,
'description' => 'MailChimp for WordPress by ibericode. Adds various highly effective sign-up methods to your site. By ibericode.',
),
array(
'name' => 'WooCommerce',
'slug' => 'woocommerce',
'description' => 'An eCommerce toolkit that helps you sell anything. Beautifully.',
'icon' => 'https://ps.w.org/woocommerce/assets/icon-256x256.gif'
),
);
}
add_filter( 'thim_core_get_all_plugins_require', 'thim_get_all_plugins_require' );
/**
* Theme id.
*/
if ( ! function_exists( 'thim_my_theme_item_id' ) ) {
function thim_my_theme_item_id() {
return '2674';
}
}
//add_filter( 'thim_core_my_theme_id', 'thim_my_theme_item_id' );
add_filter( 'thim_dashboard_all_boxes', 'thim_dashboard_remove_boxes' );
function thim_dashboard_remove_boxes( $section ) {
unset( $section['support-us'] );
unset( $section['documentation'] );
return $section;
}
// Remove link of author in plugin
add_filter( 'plugin_row_meta', function ( $links, $file, $plugin_data ) {
if ( $file === plugin_basename( 'thim-core/thim-core.php' ) || $file === plugin_basename( 'realpress/realpress.php' ) ) {
$links[1] = sprintf( __( 'By %s' ), $plugin_data['Author'] );
}
return $links;
}, 10, 3 );
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists