set_basename( false, __FILE__ ); return; } else { /** * Create a helper function for easy SDK access. */ function wf_fs() { global $wf_fs ; if ( !isset( $wf_fs ) ) { // Include Freemius SDK. require_once dirname( __FILE__ ) . '/vendor/freemius/wordpress-sdk/start.php'; $wf_fs = fs_dynamic_init( array( 'id' => '3072', 'slug' => 'wp-fail2ban', 'type' => 'plugin', 'public_key' => 'pk_146d2c2a5bee3b157e43501ef8682', 'is_premium' => false, 'has_addons' => true, 'has_paid_plans' => true, 'trial' => array( 'days' => 7, 'is_require_payment' => false, ), 'menu' => array( 'slug' => 'wp-fail2ban', 'first-path' => 'admin.php?page=wp-fail2ban', 'support' => false, ), 'is_live' => true, ) ); } return $wf_fs; } // Init Freemius. wf_fs(); // Set currency to GBP wf_fs()->add_filter( 'default_currency', function () { return 'gbp'; } ); // Signal that SDK was initiated. do_action( 'wf_fs_loaded' ); } // @codeCoverageIgnoreEnd /** * Freemius insists on mangling the formatting of the main plugin file * * @since 4.0.0 Refactored */ require_once 'wp-fail2ban-main.php';