Filter: jb_render_field_type_{$field_type}

apply_filters( 'jb_render_field_type_{$field_type}', $content, $data, $form_data, $form ) → {string}

Filters the custom field content.

Note: You could use this hook for getting rendered your custom field in wp-admin Forms.

Parameters:
Name Type Description
$content string

Field content. It's '' by default.

$data array

Field data.

$form_data array

Admin form data.

$form object

Admin form class (\jb\admin\Forms) instance.

Since:
  • 1.1.0
Source:
Returns:

Rendered custom field content.

Type
string