acf-fields.php
Table of Contents
- first_term() : mixed
- get_term_loop_ID() : mixed
- get_term_ID() : mixed
- the_term_ID() : mixed
- get_term_description() : mixed
- the_term_description() : mixed
- get_term_title() : mixed
- the_term_title() : mixed
- get_term_slug() : mixed
- the_term_slug() : mixed
- get_term_taxonomy() : mixed
- the_term_taxonomy() : mixed
- get_term_count() : mixed
- the_term_count() : mixed
- get_term_permalink() : mixed
- the_term_permalink() : mixed
- get_terms_field() : mixed
- def() : mixed
- field_parse() : mixed
- undocumented function summary
- field_parse_attr() : mixed
- field_parse_post() : mixed
- fields_html() : mixed
- fields() : mixed
- field_exists() : mixed
- field_block() : mixed
- acf_image() : mixed
- Create a image with a given ACF field
- acf_link() : mixed
- Create a link with a given ACF address
- acf_date() : mixed
- Create a formatted date with a given ACF address
Functions
first_term()
first_term([mixed $taxonomy = null ]) : mixed
Parameters
- $taxonomy ( mixed = null )
get_term_loop_ID()
get_term_loop_ID() : mixed
get_term_ID()
get_term_ID() : mixed
the_term_ID()
the_term_ID() : mixed
get_term_description()
get_term_description() : mixed
the_term_description()
the_term_description() : mixed
get_term_title()
get_term_title() : mixed
the_term_title()
the_term_title() : mixed
get_term_slug()
get_term_slug() : mixed
the_term_slug()
the_term_slug() : mixed
get_term_taxonomy()
get_term_taxonomy() : mixed
the_term_taxonomy()
the_term_taxonomy() : mixed
get_term_count()
get_term_count() : mixed
the_term_count()
the_term_count() : mixed
get_term_permalink()
get_term_permalink() : mixed
the_term_permalink()
the_term_permalink() : mixed
get_terms_field()
get_terms_field(mixed $field) : mixed
Parameters
- $field ( mixed )
def()
def(mixed $field[, mixed $default = '' ]) : mixed
Parameters
- $field ( mixed )
- $default ( mixed = '' )
field_parse()
undocumented function summary
field_parse(string $field_string[, array<string|int, mixed> $settings = null ]) : mixed
Undocumented function long description
value:$value return static value {opt_$field} return an option field {$field['item']} return field array value {$field->obj} return field object item $el.$class > {$field} return an container element $el with class $class and content $field $el.$class > {!$field} if $field exists return an container element $el with class $class and content $field opt_ tax_
Parameters
Description
Description
field_parse_attr()
field_parse_attr(mixed $field_string, mixed $attr, mixed $prefix[, mixed $string_end = array(' ') ]) : mixed
Parameters
- $field_string ( mixed )
- $attr ( mixed )
- $prefix ( mixed )
- $string_end ( mixed = array(' ') )
field_parse_post()
field_parse_post(mixed $field_string) : mixed
Parameters
- $field_string ( mixed )
fields_html()
fields_html(mixed $field_string[, mixed $settings = null ]) : mixed
Parameters
- $field_string ( mixed )
- $settings ( mixed = null )
fields()
fields(mixed $field_string[, mixed $settings = null ]) : mixed
Parameters
- $field_string ( mixed )
- $settings ( mixed = null )
field_exists()
field_exists(mixed $field_string) : mixed
Parameters
- $field_string ( mixed )
field_block()
field_block(mixed $field_string[, mixed $classes = null ]) : mixed
Parameters
- $field_string ( mixed )
- $classes ( mixed = null )
acf_image()
Create a image with a given ACF field
acf_image([array<string|int, mixed> $args = null ]) : mixed
Return Html image with a given class and size
Parameters
Image Settings
ACF field image. Complex field will be parsed with field_parse()
Image Size format
The image class
acf_link()
Create a link with a given ACF address
acf_link([array<string|int, mixed> $args = null ]) : mixed
Return Html link with a given class, url and text
Parameters
Link Settings
ACF field url. Complex field will be parsed with field_parse()
Link text
The link class
if true the link will open with tel app
if true the link will open with a mail app
if true the link will open in a new window
acf_date()
Create a formatted date with a given ACF address
acf_date([array<string|int, mixed> $args = null ]) : mixed
Return formatted ACF date
Parameters
Date Settings
ACF field date. Complex field will be parsed with field_html()
Date format
Tag container element