X7ROOT File Manager
Current Path:
/home/gfecatvj/4abetter.us/wp-content/plugins/kubio/lib/filters
home
/
gfecatvj
/
4abetter.us
/
wp-content
/
plugins
/
kubio
/
lib
/
filters
/
📁
..
📄
after-kubio-activation.php
(1.84 KB)
📄
allow-kubio-blog-override.php
(355 B)
📄
cache-plugins.php
(1.05 KB)
📄
default-editor-overlay.php
(4.24 KB)
📄
dismissable-notice.php
(2.73 KB)
📄
gutenerg-plugin-check.php
(936 B)
📄
image-size-auto-fix.php
(399 B)
📄
kubio-fresh-site.php
(785 B)
📄
post-insert.php
(1.21 KB)
📄
register-meta-fields.php
(627 B)
📄
requirements-notices.php
(3.69 KB)
📄
site-urls.php
(2.18 KB)
📄
starter-sites-feature.php
(138 B)
📄
svg-kses.php
(1.18 KB)
📄
wp-import.php
(6.41 KB)
Editing: after-kubio-activation.php
<?php use Kubio\Flags; function kubio_set_editor_ui_version() { Flags::setSetting( 'editorUIVersion', 2 ); Flags::setSetting( 'editorMode', 'advanced' ); Flags::setSetting( 'activatedOnStage2', true ); Flags::setSetting( 'aiStage2', apply_filters( 'kubio/ai_stage_2', false ) || ( defined( 'KUBIO_AI_STAGE_2' ) && KUBIO_AI_STAGE_2 ) ); Flags::setSetting( 'advancedMode', apply_filters( 'kubio/advanced_mode_enabled', false ) ); Flags::setSetting( 'featuresVersion', apply_filters( 'kubio/featuresVersion', 2 ) ); //enable the fix for wordpress setting for blog as frontpage only for new users to not cause issues for current users Flags::setSetting( 'enableBlogAsFrontPageFromGeneralSettings', true ); //Enable the fix for "0057672: [ Business pro template ] - When hovering the buttons the text is not visible anymore" //only for new users to not break frontend websites for old users. This happens only for users who use template gallery -> //page content. The logic is that old users either found a solution or did not like them and we care only for new users //who may encounter the issue Flags::setSetting( 'enableTypographyBodySelector', true ); } //after the theme changes update the aiStage2 flag add_filter( 'after_switch_theme', function () { Flags::setSetting( 'aiStage2', apply_filters( 'kubio/ai_stage_2', false ) || ( defined( 'KUBIO_AI_STAGE_2' ) && KUBIO_AI_STAGE_2 ) ); } ); add_action( 'kubio/after_activation', 'kubio_set_editor_ui_version' ); add_action( 'kubio/after_activation', '_kubio_set_fresh_site' ); //For this issue. https://mantis.iconvert.pro/view.php?id=52025. On Bluehost all the rest api return 404 and needs a flush permalink to fix it add_action( 'kubio/after_activation', 'flush_rewrite_rules' ); add_action( 'kubio/after_activation', function () { Flags::setSetting( 'aiWizardDescriptionOptional', true ); } );
Upload File
Create Folder