X7ROOT File Manager
Current Path:
/home/okeydcqc/okeyanueyiagu.com/wp-content/plugins/robo-gallery/includes
home
/
okeydcqc
/
okeyanueyiagu.com
/
wp-content
/
plugins
/
robo-gallery
/
includes
/
ðŸ“
..
📄
cache.php
(1.07 KB)
ðŸ“
extensions
ðŸ“
frontend
📄
index.html
(0 B)
ðŸ“
options
📄
rbs_class_update.php
(2.34 KB)
📄
rbs_gallery_button.php
(1.89 KB)
📄
rbs_gallery_config.php
(1.81 KB)
📄
rbs_gallery_edit.php
(2.17 KB)
📄
rbs_gallery_init.php
(9.32 KB)
📄
rbs_gallery_media.php
(7.2 KB)
📄
rbs_gallery_menu.php
(4.4 KB)
📄
rbs_gallery_settings.php
(28.11 KB)
📄
rbs_gallery_widget.php
(6.06 KB)
📄
rbs_gallery_widget_last.php
(3.27 KB)
📄
rbs_hooks.php
(509 B)
Editing: cache.php
<?php /* * Robo Gallery By Robosoft * Contact: https://robosoft.co/robogallery/ * Copyright (c) 2014-2019, Robosoft. All rights reserved. */ if ( ! defined( 'WPINC' ) ) exit; function robo_gallery_save_gallery( $post_id, $post, $update ) { $post_type = get_post_type($post_id); if ( ROBO_GALLERY_TYPE_POST != $post_type ) return; /* delete db_cache */ delete_transient( ROBO_GALLERY_PREFIX.'cache_id'. $post_id ); /* delete cache id */ delete_post_meta( $post_id, ROBO_GALLERY_PREFIX.'cache_id' ); /* set new cache id */ add_post_meta( $post_id, ROBO_GALLERY_PREFIX.'cache_id', uniqid() ); } add_action( 'save_post', 'robo_gallery_save_gallery', 10, 3 ); function robo_gallery_new_gallery( $post_id, $post, $update ) { if( wp_is_post_revision( $post_id ) ) return; $post_type = get_post_type($post_id); if ( ROBO_GALLERY_TYPE_POST != $post_type ) return; add_post_meta($post_id, ROBO_GALLERY_PREFIX.'cache_id', uniqid() ); } add_action( 'wp_insert_post', 'robo_gallery_new_gallery', 10, 3 );
Upload File
Create Folder