ACF_Admin_Tool_Export::load() public ACF 5.6.3
description
{} Это метод класса: ACF_Admin_Tool_Export{}
Хуков нет.
Возвращает
n/a.
Использование
$ACF_Admin_Tool_Export = new ACF_Admin_Tool_Export(); $ACF_Admin_Tool_Export->load();
- (n/a) (обязательный)
Список изменений
С версии 5.6.3 | Введена. |
Код ACF_Admin_Tool_Export::load() ACF Admin Tool Export::load ACF 5.9.1
function load() {
// active
if( $this->is_active() ) {
// get selected keys
$selected = $this->get_selected_keys();
// add notice
if( $selected ) {
$count = count($selected);
$text = sprintf( _n( 'Exported 1 field group.', 'Exported %s field groups.', $count, 'acf' ), $count );
acf_add_admin_notice( $text, 'success' );
}
}
}