ACF_Repeater_Table::table_actions │ public │ ACF 6.0.0

Renders the actions displayed underneath the table.

Method of the class: ACF_Repeater_Table{}

No Hooks.

Returns

void. Nothing (null).

Usage

$ACF_Repeater_Table = new ACF_Repeater_Table();
$ACF_Repeater_Table->table_actions();

Changelog

Since 6.0.0 Introduced.

ACF_Repeater_Table::table_actions() code ACF 6.8.8

<?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
}