block-based-templates
1 month ago
styles
4 years ago
customizer-options.php
1 year ago
editor-hooks.php
1 year ago
fallback-compatibility.php
4 years ago
front-page.html
2 years ago
frontend-hooks.php
1 year ago
preview.php
4 years ago
templates-importer.php
1 year ago
templates.php
1 year ago
third-party-themes.php
1 year ago
customizer-options.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | use Kubio\Core\EditInKubioCustomizerPanel; |
| 5 | |
| 6 | function kubio_customizer_add_edit_page_in_kubio( $wp_customize ) { |
| 7 | |
| 8 | $wp_customize->add_panel( |
| 9 | new EditInKubioCustomizerPanel( |
| 10 | $wp_customize, |
| 11 | 'kubio-edit-in-kubio-section', |
| 12 | array( |
| 13 | 'capability' => 'manage_options', |
| 14 | 'priority' => 0, |
| 15 | ) |
| 16 | ) |
| 17 | ); |
| 18 | |
| 19 | return; |
| 20 | } |
| 21 | |
| 22 | add_action( 'customize_register', 'kubio_customizer_add_edit_page_in_kubio' ); |
| 23 |