Skip to main content

prepare_post_category_value()

public static function prepare_post_category_value( $value, $field, $mode='entry_detail' )

Prepare the saved value of a Post Category field for display.

Since: Unknown

Source: common.php:5480

Parameters

NameTypeDefaultDescription
$valuemixedThe current value of the Field
$fieldGF_FieldThe Field object
$modestring'entry_detail'The mode for which we are retrieving the prepared value (defaults to 'entry_detail'

Returns

  • mixed