403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/yme/wp-content/plugins/ocean-extra/includes/onboarding/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/yme/wp-content/plugins/ocean-extra/includes/onboarding/options.php
<?php
/**
 * OceanWP Setup Wizard: Options
 *
 * @package Ocean_Extra
 * @category Core
 * @author OceanWP
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Get the options for the onboarding wizard.
 *
 * @since 2.4.8
 * @return array
 */
function oe_onboarding_wizard_options() {

    $headings_typo         = get_theme_mod('headings_typography');
	$headings_font_familiy = isset($headings_typo['font-family']) ? $headings_typo['font-family'] : '';

    $body_typo             = get_theme_mod('body_typography');
	$body_font_familiy     = isset($body_typo['font-family']) ? $body_typo['font-family'] : '';

    $options = [
        'siteTitle'         => get_option( 'blogname' ),
        'siteTagline'       => get_option( 'blogdescription' ),
        'siteIcon'          => get_option( 'site_icon' ),
        'siteLogo'          => get_option( 'site_logo' ),
        'siteRetinaLogo'    => get_theme_mod( 'ocean_retina_logo' ),
        'siteMobileLogo'    => get_theme_mod( 'ocean_responsive_logo' ),
        'backgroundColor'   => get_theme_mod( 'ocean_background_color', '#ffffff' ),
        'primaryColor'      => get_theme_mod( 'ocean_primary_color', '#13aff0' ),
        'primaryHoverColor' => get_theme_mod( 'ocean_hover_primary_color', '#0b7cac' ),
        'borderColor'       => get_theme_mod( 'ocean_main_border_color', '#e9e9e9' ),
        'linkColor'         => get_theme_mod( 'ocean_links_color', '#333333' ),
        'linkHoverColor'    => get_theme_mod( 'ocean_links_color_hover', '#13aff0' ),
        'headingsFont'      => $headings_font_familiy,
        'bodyFont'          => $body_font_familiy,
    ];

    return apply_filters( 'ocean_onboarding_wizard_options', $options );
}

Youez - 2016 - github.com/yon3zu
LinuXploit