' . esc_html__( 'Extensions', 'ocean-extra' ) . '',
'manage_options',
'oceanwp-panel-extensions',
array( $this, 'create_admin_page' )
);
}
/**
* Redirect to the extensions page
*
* @since 1.0.0
*/
public static function create_admin_page() {
// Extensions
$plugins = array(
'sticky-header' => array(
'description' => esc_html__( 'A must-have plugin, attach your header at the top of your screen with style.', 'ocean-extra' ),
),
'elementor-widgets' => array(
'description' => esc_html__( 'Add many extra widgets to the popular free page builder Elementor.', 'ocean-extra' ),
),
'cookie-notice' => array(
'description' => esc_html__( 'Inform users that you are using cookies to comply with the EU cookie law GDPR regulations.', 'ocean-extra' ),
),
'footer-callout' => array(
'description' => esc_html__( 'Add some relevant information about your company or product in your footer.', 'ocean-extra' ),
),
'full-screen' => array(
'description' => esc_html__( 'A simple and easy way to create a fullscreen scrolling website.', 'ocean-extra' ),
),
'popup-login' => array(
'description' => esc_html__( 'A plugin to add a popup login, register and lost password form where you want.', 'ocean-extra' ),
),
'instagram' => array(
'description' => esc_html__( 'Fetch and customize your Instagram feed to display in a beautiful way.', 'ocean-extra' ),
),
'portfolio' => array(
'description' => esc_html__( 'A complete extension to display your portfolio and work in a beautiful way.', 'ocean-extra' ),
),
'side-panel' => array(
'description' => esc_html__( 'Add a responsive side panel with your preferred widgets inside.', 'ocean-extra' ),
),
'hooks' => array(
'description' => esc_html__( 'Add content throughout various areas of OceanWP without using child theme.', 'ocean-extra' ),
),
'sticky-footer' => array(
'description' => esc_html__( 'A simple extension to attach the footer at the bottom of your screen.', 'ocean-extra' ),
),
'woo-popup' => array(
'description' => esc_html__( 'Display a popup when a product is added to the cart, perfect to increase conversion.', 'ocean-extra' ),
),
'white-label' => array(
'description' => esc_html__( 'A plugin that allows you to replace the theme name by your own brand name.', 'ocean-extra' ),
),
);
// If affiliate ref
$ref_url = '';
$aff_ref = apply_filters( 'ocean_affiliate_ref', $ref_url );
// Add & is has referal link
if ( $aff_ref ) {
$if_ref = '&';
} else {
$if_ref = '?';
} ?>
$val ) :
// Add source
$utm = $if_ref . 'utm_source=dash&utm_medium=extension&utm_campaign='. $key;
// Plugin name
$title = str_replace( '-', ' ', $key );
$title = ucwords( $title ); ?>
-
', 'ocean-extra' ); ?>