array( 'path' => 'js/image.js', 'dependencies' => array( 'jquery' ), 'version' => SAP_VERSION, 'footer' => true, ), ); /** * Translateable strings required for this component * @since 2.1.0 */ public $strings = array( 'add_image' => null, // __( 'Add Image', 'textdomain' ), 'change_image' => null, // __( 'Change Image', 'textdomain' ), 'remove_image' => null, // __( 'Remove Image', 'textdomain' ), ); /** * Display this setting * @since 1.0 */ public function display_setting() { $image_url = $this->value ? wp_get_attachment_url( $this->value ) : ''; ?>
print_conditional_data(); ?>>
display_description(); } }