SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > ocean-extra > includes


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/ocean-extra/includes

NameTypeSizeLast ModifiedActions
admin-bar Directory - -
client-migration Directory - -
compatibility Directory - -
customizer Directory - -
freemius Directory - -
menu-icons Directory - -
metabox Directory - -
onboarding Directory - -
panel Directory - -
post-settings Directory - -
preloader Directory - -
shortcodes Directory - -
themepanel Directory - -
widgets Directory - -
wizard Directory - -
adobe-font.php File 8297 bytes October 16 2024 13:55:14.
custom-code.php File 2245 bytes October 16 2024 13:55:14.
dashboard.php File 7546 bytes February 27 2025 13:36:14.
image-resizer.php File 11613 bytes October 16 2024 13:55:14.
jshrink.php File 21650 bytes May 23 2023 11:24:42.
ocean-extra-strings.php File 2285 bytes November 09 2022 13:00:36.
plugins-tab.php File 5824 bytes November 27 2024 14:36:28.
update-message.php File 6286 bytes January 27 2025 17:10:18.
utils.php File 1534 bytes May 14 2025 14:50:00.
walker.php File 6045 bytes January 27 2022 15:28:52.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/ocean-extra/includes/utils.php

<?php
/**
 * Ocean Extra: Utils
 *
 * @package OceanWP WordPress theme
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if (!function_exists('oe_get_page_by_title')) {
    /**
	 * Get Page by title.
	 */
	function oe_get_page_by_title( $page_title, $output = OBJECT, $post_type = 'page' ) {

		$query = new WP_Query(
			array(
				'post_type'              => $post_type,
				'title'                  => $page_title,
				'post_status'            => 'all',
				'posts_per_page'         => 1,
				'no_found_rows'          => true,
				'ignore_sticky_posts'    => true,
				'update_post_term_cache' => false,
				'update_post_meta_cache' => false,
				'orderby'                => 'date',
				'order'                  => 'ASC',
			)
		);

		if ( ! empty( $query->post ) ) {
			$_post = $query->post;

			if ( ARRAY_A === $output ) {
				return $_post->to_array();
			} elseif ( ARRAY_N === $output ) {
				return array_values( $_post->to_array() );
			}

			return $_post;
		}

		return null;
	}
}

if (! function_exists('oe_get_remote')) {

    function oe_get_remote( $url ) {

        // Get data
        $response = wp_remote_get( $url );

        // Check for errors
        if ( is_wp_error( $response ) or ( wp_remote_retrieve_response_code( $response ) != 200 ) ) {
            return false;
        }

        // Get remote body val
        $body = wp_remote_retrieve_body( $response );

        // Return data
        if ( ! empty( $body ) ) {
            return $body;
        } else {
            return false;
        }
    }
}

SILENT KILLER Tool