/home/techb158/balacoffee.com/wp-content/plugins/polylang-pro-1
Edit: /home/techb158/balacoffee.com/wp-content/plugins/polylang-pro-1/polylang.php (2275B)
.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Don't access directly.
};
define( 'POLYLANG_PRO', true );
define( 'POLYLANG_PRO_FILE', __FILE__ );
define( 'POLYLANG_PRO_DIR', __DIR__ );
if ( ! defined( 'POLYLANG_ROOT_FILE' ) ) {
define( 'POLYLANG_ROOT_FILE', __FILE__ );
}
if ( defined( 'POLYLANG_BASENAME' ) ) {
// The user is attempting to activate a second plugin instance, typically Polylang and Polylang Pro.
require_once ABSPATH . 'wp-admin/includes/plugin.php';
deactivate_plugins( POLYLANG_BASENAME ); // Deactivate the other plugin.
} else {
define( 'POLYLANG_BASENAME', plugin_basename( __FILE__ ) ); // Plugin name as known by WP.
}
require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/vendor/wpsyntex/polylang/polylang.php';
if ( empty( $_GET['deactivate-polylang'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
add_action( 'pll_pre_init', array( new PLL_Pro(), 'init' ), 0 );
}