acf_field_password::format_value_for_jsonldpublicACF 6.8.0

Formats the field value for JSON-LD output.

Method of the class: acf_field_password{}

No Hooks.

Returns

Mixed.

Usage

$acf_field_password = new acf_field_password();
$acf_field_password->format_value_for_jsonld( $value, $post_id, $field );
$value(mixed) (required)
The value of the field.
$post_id(int|string) (required)
The ID of the post.
$field(array) (required)
The field array.

Changelog

Since 6.8.0 Introduced.

acf_field_password::format_value_for_jsonld() code ACF 6.8.8

public function format_value_for_jsonld( $value, $post_id, $field ) {
	return false;
}