'https://docs.deothemes.com/amela', 'video-tutorials' => 'https://www.youtube.com/watch?v=R9tPDGK1q-Q&list=PLaPNmyRO67T0BsLPlGdrXO0T_5SxM5A4-&ab_channel=DeoThemes', 'header-footer-builder' => $docs_url . 'header-footer-builder', 'product-builder' => $docs_url . 'product-builder', 'mega-menu-builder' => $docs_url . 'mega-menu-builder', 'page-layout' => $docs_url . 'page-layout', 'gdpr' => $docs_url . 'gdpr', 'home-page-demos' => $docs_url . 'home-page-demos', ); $buttons = array( 'logo' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=amela_settings_logo' ), 'link_text' => __( 'Logo', 'amela' ), 'icon' => 'dashicons dashicons-format-image', ), 'header' => array( 'link_url' => admin_url( 'customize.php?autofocus[panel]=amela_settings_header' ), 'link_text' => __( 'Header', 'amela' ), 'icon' => 'dashicons dashicons-align-center', ), 'footer' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=amela_settings_footer' ), 'link_text' => __( 'Footer', 'amela' ), 'icon' => 'dashicons dashicons-align-full-width', ), 'layout' => array( 'link_url' => admin_url( 'customize.php?autofocus[panel]=amela_settings_layout' ), 'link_text' => __( 'Layout', 'amela' ), 'icon' => 'dashicons dashicons-layout', ), 'colors' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=amela_settings_colors' ), 'link_text' => __( 'Colors', 'amela' ), 'icon' => 'dashicons dashicons-admin-appearance', ), 'typography' => array( 'link_url' => admin_url( 'customize.php?autofocus[section]=amela_settings_typography' ), 'link_text' => __( 'Typography', 'amela' ), 'icon' => 'dashicons dashicons-editor-textcolor', ), 'customizer' => array( 'link_url' => admin_url( 'customize.php' ), 'link_text' => __( 'Customizer', 'amela' ), 'icon' => 'dashicons dashicons-admin-generic', ), 'documentation' => array( 'link_url' => 'https://docs.deothemes.com/amela', 'link_text' => __( 'Documentation', 'amela' ), 'icon' => 'dashicons dashicons-book-alt', ), 'support' => array( 'link_url' => admin_url( 'themes.php?page=amela-theme-contact' ), 'link_text' => __( 'Support', 'amela' ), 'icon' => 'dashicons dashicons-sos', ), ); if ( amela_fs()->can_use_premium_code__premium_only() && defined( 'AMELA_CORE_VERSION' ) ) { $buttons['theme_templates'] = array( 'link_url' => admin_url( 'edit.php?post_type=theme_template' ), 'link_text' => __( 'Theme Templates', 'amela' ), 'icon' => 'dashicons dashicons-table-row-after', ); $buttons['adobe_fonts'] = array( 'link_url' => admin_url( 'admin.php?page=amela-core-custom-typekit-fonts' ), 'link_text' => __( 'Adobe Fonts', 'amela' ), 'icon' => 'dashicons dashicons-editor-spellcheck', ); $buttons['integrations'] = array( 'link_url' => admin_url( 'admin.php?page=amela-core-integrations' ), 'link_text' => __( 'Google Map', 'amela' ), 'icon' => 'dashicons dashicons-location-alt', ); } $videos = array( 'theme-installation' => array( 'links' => array(array( 'link_url' => 'https://www.youtube.com/watch?v=O9cfL3sqwvc', 'link_text' => __( 'Theme Installation', 'amela' ), 'link_img_src' => AMELA_URI . '/assets/admin/img/videos/amela_video_demo_import.jpg', )), ), 'color-editing' => array( 'links' => array(array( 'link_url' => 'https://www.youtube.com/watch?v=MpjPEHzWti8&list=PLaPNmyRO67T0BsLPlGdrXO0T_5SxM5A4-&index=3&ab_channel=DeoThemes', 'link_text' => __( 'Color Editing', 'amela' ), 'link_img_src' => AMELA_URI . '/assets/admin/img/videos/amela_video_colors_editing.jpg', )), ), 'product-builder' => array( 'links' => array(array( 'link_url' => 'https://www.youtube.com/watch?v=2zUr4KWO6rQ&list=PLaPNmyRO67T0BsLPlGdrXO0T_5SxM5A4-&index=2&ab_channel=DeoThemes', 'link_text' => __( 'Product Builder', 'amela' ), 'link_img_src' => AMELA_URI . '/assets/admin/img/videos/amela_video_product_builder.jpg', )), ), ); $info = array( 'header-footer-builder' => array( 'title' => esc_html__( 'Header / Footer Builder', 'amela' ), 'class' => 'amela-addon-list-item', 'title_url' => $urls['header-footer-builder'], 'links' => array(array( 'link_class' => 'amela-learn-more', 'link_url' => $urls['header-footer-builder'], 'link_text' => esc_html__( 'Learn More »', 'amela' ), 'target_blank' => true, )), ), 'product-builder' => array( 'title' => esc_html__( 'Product Builder', 'amela' ), 'class' => 'amela-addon-list-item', 'title_url' => $urls['product-builder'], 'links' => array(array( 'link_class' => 'amela-learn-more', 'link_url' => $urls['product-builder'], 'link_text' => esc_html__( 'Learn More »', 'amela' ), 'target_blank' => true, )), ), 'mega-menu-builder' => array( 'title' => esc_html__( 'Mega Menu Builder', 'amela' ), 'class' => 'amela-addon-list-item', 'title_url' => $urls['mega-menu-builder'], 'links' => array(array( 'link_class' => 'amela-learn-more', 'link_url' => $urls['mega-menu-builder'], 'link_text' => esc_html__( 'Learn More »', 'amela' ), 'target_blank' => true, )), ), 'page-layouts' => array( 'title' => esc_html__( 'Page Layout', 'amela' ), 'class' => 'amela-addon-list-item', 'title_url' => $urls['page-layout'], 'links' => array(array( 'link_class' => 'amela-learn-more', 'link_url' => $urls['page-layout'], 'link_text' => esc_html__( 'Learn More »', 'amela' ), 'target_blank' => true, )), ), 'gdpr' => array( 'title' => esc_html__( 'GDPR Tools', 'amela' ), 'class' => 'amela-addon-list-item', 'title_url' => $urls['gdpr'], 'links' => array(array( 'link_class' => 'amela-learn-more', 'link_url' => $urls['gdpr'], 'link_text' => esc_html__( 'Learn More »', 'amela' ), 'target_blank' => true, )), ), ); ?>

  1. %s', esc_url( admin_url( 'themes.php?page=tgmpa-install-plugins' ) ), esc_html__( 'required plugins', 'amela' ) ) ); ?>
add_filter( 'plugin_icon', 'amela_fs_custom_icon' ); /** * Add extra permissions to Freemius */ function amela_freemius_extra_permissions( $permissions ) { $permissions['newsletter'] = array( 'icon-class' => 'dashicons dashicons-email-alt', 'label' => amela_fs()->get_text_inline( 'Newsletter', 'amela' ), 'desc' => amela_fs()->get_text_inline( 'Your email is added to our newsletter. Updates, announcements, marketing, no spam. Unsubscribe anytime.', 'amela' ), 'priority' => 15, ); return $permissions; } amela_fs()->add_filter( 'permission_list', 'amela_freemius_extra_permissions' );