ACF_Admin_Tool_Export::load
load
description
Метод класса: ACF_Admin_Tool_Export{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ACF_Admin_Tool_Export = new ACF_Admin_Tool_Export(); $ACF_Admin_Tool_Export->load();
Список изменений
| С версии 5.6.3 | Введена. |
Код ACF_Admin_Tool_Export::load() ACF Admin Tool Export::load ACF 6.4.2
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 item.', 'Exported %s items.', $count, 'acf' ), $count );
acf_add_admin_notice( $text, 'success' );
}
}
}