<commit_before><?php

/**
 * Plugin Name: Conauth
 * Plugin URI: https://github.com/frozzare/wp-conauth
 * Description: Signing in to WordPress by link sent to your email
 * Author: <NAME>
 * Author URI: https://forsmo.me
 * Version: 1.0.0
 * Textdomain: conauth
 */

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

// Load plugin class.
require_once __DIR__ . '/src/class-conauth.php';

/**
 * Boot the plugin.
 */
add_action( 'plugins_loaded', function () {
    /**
     * Get shared top domains associated with users.
     *
     * @var array
     */
    if ( add_filter( 'conauth/disabled', false ) === false ) {
        return \Frozzare\Conauth\Conauth::instance();
    }
} );
<commit_msg>Add enabled filter<commit_after><?php

/**
 * Plugin Name: Conauth
 * Plugin URI: https://github.com/frozzare/wp-conauth
 * Description: Signing in to WordPress by link sent to your email
 * Author: <NAME>
 * Author URI: https://forsmo.me
 * Version: 1.0.0
 * Textdomain: conauth
 */

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

// Load plugin class.
require_once __DIR__ . '/src/class-conauth.php';

/**
 * Boot the plugin.
 */
add_action( 'plugins_loaded', function () {
    /**
     * Filter whether Conauth is enabled.
     *
     * @var bool
     */
    if ( apply_filters( 'conauth/enabled', true ) ) {
        return \Frozzare\Conauth\Conauth::instance();
    }
} );

{'fraction_non_alphanumeric': 0.1511461318051576, 'fraction_numerical': 0.004297994269340974, 'mean_word_length': 2.8698060941828256, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '590271', 'n_tokens_mistral': 466, 'n_tokens_neox': 455, 'n_words': 123}