ACF_Repeater_Table::table_actions
Renders the actions displayed underneath the table.
Метод класса: ACF_Repeater_Table{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ACF_Repeater_Table = new ACF_Repeater_Table(); $ACF_Repeater_Table->table_actions();
Список изменений
| С версии 6.0.0 | Введена. |
Код ACF_Repeater_Table::table_actions() ACF Repeater Table::table actions ACF 6.4.2
<?php
public function table_actions() {
if ( ! $this->show_add ) {
return;
}
?>
<div class="acf-actions">
<a class="acf-button acf-repeater-add-row button button-primary" href="#" data-event="add-row"><?php echo acf_esc_html( $this->field['button_label'] ); ?></a>
<?php $this->pagination(); ?>
<div class="clear"></div>
</div>
<?php
}