BP_Export::easy_readable( $value )

Convert serialized meta to readable data.

Description

Parameters

$value

(Required)

Return

(string)

Source

File: bp-core/gdpr/class-bp-export.php

	function easy_readable( $value ) {

		if ( ! is_serialized( $value ) && ! is_array( $value ) && ! is_object( $value ) ) {
			return $value;
		}

		$value = maybe_serialize( $value );

		return wp_json_encode( $value, JSON_PRETTY_PRINT );

	}

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.