<commit_before><?php

namespace App;

use Roots\Sage\Container;
use Roots\Sage\Assets\JsonManifest;
use Roots\Sage\Config;

/**
 * Theme assets
 */
add_action('wp_enqueue_scripts', function () {
    // wp_enqueue_style('font_css', '//fonts.googleapis.com/css?family=Open+Sans:400,600,700,800', false, null);
    wp_enqueue_style('sage/main.css', asset_path('styles/main.css'), false, null);

    // Scripts which are loaded synchronously
    wp_enqueue_script('theme/js/vendor', asset_path('scripts/vendor.js'), ['jquery'], false, true);
    wp_enqueue_script('theme/js/main', asset_path('scripts/main.js'), ['jquery', 'theme/js/vendor'], null, true);
}, 100);

/**
 * Dequeue stylesheets.
 */
add_action('wp_print_styles', function () {
     wp_dequeue_style('ext-widget-opts');
}, 100);

/**
 * Asynchronously loaded CSS.
 */<commit_msg>add support for widget-options-extended xy-grid<commit_after><?php

namespace App;

use Roots\Sage\Container;
use Roots\Sage\Assets\JsonManifest;
use Roots\Sage\Config;

add_filter('widget-options-extended/grid', function () {
    return 'xy-grid';
});

/**
 * Theme assets
 */
add_action('wp_enqueue_scripts', function () {
    // wp_enqueue_style('font_css', '//fonts.googleapis.com/css?family=Open+Sans:400,600,700,800', false, null);
    wp_enqueue_style('sage/main.css', asset_path('styles/main.css'), false, null);

    // Scripts which are loaded synchronously
    wp_enqueue_script('theme/js/vendor', asset_path('scripts/vendor.js'), ['jquery'], false, true);
    wp_enqueue_script('theme/js/main', asset_path('scripts/main.js'), ['jquery', 'theme/js/vendor'], null, true);
}, 100);

/**
 * Dequeue stylesheets.
 */
add_action('wp_print_styles', function () {
     wp_dequeue_style('ext-widget-opts');
}, 100);

/**
 * Asynchronously loaded CSS.
 */
{'fraction_non_alphanumeric': 0.18262806236080179, 'fraction_numerical': 0.0200445434298441, 'mean_word_length': 4.911184210526316, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4065120', 'n_tokens_mistral': 659, 'n_tokens_neox': 620, 'n_words': 102}