Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
wp-conte...
/
plugins
/
themify-...
/
includes
/
dynamic-...
•
File:
FileContent.php
•
Content:
<?php /** * @package Themify Builder Pro * @link https://themify.me/ */ class Tbp_Dynamic_Item_FileContent extends Tbp_Dynamic_Item { function get_category() { return 'advanced'; } function get_type() { return array( 'textarea', 'wp_editor' ); } function get_label() { return __( 'File Content', 'tbp' ); } function get_value( $args = array() ) { $value = ''; if ( ! empty( $args['path'] ) ) { $file = trailingslashit( ABSPATH ) . $args['path']; WP_Filesystem(); global $wp_filesystem; if ( $wp_filesystem->is_file( $file ) ) { $value = $wp_filesystem->get_contents( $file ); } } return $value; } function get_options() { return array( array( 'id' => 'path', 'type' => 'text', 'label' => __( 'File Path', 'tbp' ), 'class' => 'large', 'help' => sprintf( __( 'Path is started from: %s', 'tbp' ), trailingslashit( ABSPATH ) ), ), ); } }
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List