Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Carbon_Fields
Container
Container
add_template
Carbon_Fields\Container\Container::add_template PHP Méthode
Container Class Documentation
Afficher le fichier
Open project: htmlburger/carbon-fields
add_template()
public
méthode
Adds a new Backbone template
public
add_template
(
$name
,
$callback
)
public function add_template($name, $callback) { $this->templates[$name] = $callback; }
Container
__construct
_attach
_save
activate_container
activate_field
add_fields
add_tab
add_template
admin_hook_scripts
admin_hook_styles
attach
boot
check_setup_settings
create_tab
detach
drop_unique_field_name
drop_unique_panel_id
factory
get_active_containers
get_active_fields
get_datastore
get_fields
get_nonce_field
get_nonce_name
get_tabs
get_tabs_json
get_templates
get_untabbed_fields
has_fields
init
init_containers
is_active
is_tabbed
is_valid_attach
is_valid_save
load
make
save
set_datastore
setup
template
template_tabs
to_json
verify_unique_field_name
verify_unique_panel_id