Class Papi_Property_Link
WordPress link manager property.
- Papi_Core_Property
- Papi_Property
- Papi_Property_Link
Methods summary
public
boolean
|
|
public
mixed
|
#
format_value( mixed $value, string $slug, integer $post_id )
Format the value of the property before it's returned to WordPress admin or the site. |
public
array
|
|
public
array
|
|
public
|
|
public
mixed
|
|
protected
array|object
|
#
prepare_link_array( array|object $link, string $slug )
Prepare link array with post id. If it gets a post id bigger then zero it will use the permalink as url. |
public
|
|
public
array
|
|
protected
|
Methods inherited from Papi_Property
get_value()
,
is_option_page()
,
render()
,
render_description_html()
,
render_hidden_html()
,
render_label_html()
,
render_property_html()
,
render_row_html()
,
render_rules_json()
Methods inherited from Papi_Core_Property
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
create()
,
current_user_can()
,
disabled()
,
display()
,
factory()
,
get_child_properties()
,
get_child_property()
,
get_import_settings()
,
get_meta_type()
,
get_option()
,
get_options()
,
get_post_id()
,
get_rules()
,
get_setting()
,
get_settings()
,
get_slug()
,
get_store()
,
html_id()
,
html_name()
,
import_setting()
,
import_settings()
,
match_slug()
,
prepare_value()
,
render_ajax_request()
,
render_is_allowed_by_rules()
,
set_option()
,
set_options()
,
set_post_id()
,
set_setting()
,
set_store()
,
setup_conditional()
,
setup_filters()
Properties summary
public
string
|
$convert_type
The convert type. |
#
'object'
|
public
array
|
$default_value
The default value. |
#
[]
|
protected
array
|
$link_fields
Link fields. |
#
[
'post_id',
'url',
'title',
'target'
]
|