after-kubio-activation.php
4 months ago
allow-kubio-blog-override.php
2 years ago
cache-plugins.php
4 years ago
default-editor-overlay.php
1 year ago
dismissable-notice.php
1 month ago
gutenerg-plugin-check.php
1 year ago
image-size-auto-fix.php
1 year ago
kubio-fresh-site.php
2 years ago
post-insert.php
4 months ago
register-meta-fields.php
3 years ago
requirements-notices.php
1 year ago
site-urls.php
1 year ago
starter-sites-feature.php
1 year ago
svg-kses.php
1 year ago
wp-import.php
3 months ago
allow-kubio-blog-override.php
16 lines
| 1 | <?php |
| 2 | |
| 3 | function kubio_allow_3rd_party_override_by_theme( $allow ) { |
| 4 | $template = get_template(); |
| 5 | $skip_for_templates = array( 'twentytwentyfour' ); |
| 6 | |
| 7 | if ( in_array( $template, $skip_for_templates, true ) ) { |
| 8 | return false; |
| 9 | |
| 10 | } |
| 11 | |
| 12 | return $allow; |
| 13 | } |
| 14 | |
| 15 | add_filter( 'kubio/allow_3rd_party_blog_override', 'kubio_allow_3rd_party_override_by_theme' ); |
| 16 |