Fix File
•
/
home
/
sportsfe...
/
httpdocs
/
wp-conte...
/
plugins
/
themify-...
/
includes
/
dynamic-...
•
File:
ACFImage.php
•
Content:
<?php /** * @package Themify Builder Pro * @link https://themify.me/ */ class Tbp_Dynamic_Item_ACFImage extends Tbp_Dynamic_Item { function is_available() { return class_exists( 'ACF' ); } function get_category() { return 'acf'; } function get_type() { return array( 'text', 'textarea', 'wp_editor', 'image', 'url' ); } function get_label() { return __( 'ACF (Image)', 'tbp' ); } function get_value( $args = array() ) { $value = ''; if ( ! empty( $args['key'] ) ) { list( $group_id, $field_id ) = explode( ':', $args['key'] ); $cf_value = get_field( $field_id ); if ( ! empty( $cf_value['url'] ) ) { $value = $cf_value['url']; } } return $value; } function get_options() { return array( array( 'label' => __( 'Field', 'tbp' ), 'id' => 'key', 'type' => 'select', 'options' => Tbp_Utils::get_acf_fields_by_type( 'image' ), ), ); } }
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List