ACF_Repeater_Table::row_actions()publicACF 6.0.0

Renders the actions displayed at the end of each row.

Метод класса: ACF_Repeater_Table{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Список изменений

С версии 6.0.0 Введена.

Код ACF_Repeater_Table::row_actions() ACF 6.0.4

<?php
public function row_actions() {
	if ( ! $this->show_remove ) {
		return;
	}
	?>
	<td class="acf-row-handle remove">
		<a class="acf-icon -plus small acf-js-tooltip hide-on-shift" href="#" data-event="add-row" title="<?php _e( 'Add row', 'acf' ); ?>"></a>
		<a class="acf-icon -duplicate small acf-js-tooltip show-on-shift" href="#" data-event="duplicate-row" title="<?php _e( 'Duplicate row', 'acf' ); ?>"></a>
		<a class="acf-icon -minus small acf-js-tooltip" href="#" data-event="remove-row" title="<?php _e( 'Remove row', 'acf' ); ?>"></a>
	</td>
	<?php
}