ACF_Repeater_Table::row_actions
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 Repeater Table::row actions ACF 6.4.2
<?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 esc_attr_e( 'Add row', 'acf' ); ?>"></a>
<a class="acf-icon -duplicate small acf-js-tooltip show-on-shift" href="#" data-event="duplicate-row" title="<?php esc_attr_e( 'Duplicate row', 'acf' ); ?>"></a>
<a class="acf-icon -minus small acf-js-tooltip" href="#" data-event="remove-row" title="<?php esc_attr_e( 'Remove row', 'acf' ); ?>"></a>
</td>
<?php
}