ACF_Repeater_Table::row_actions
Renders the actions displayed at the end of each row.
Method of the class: ACF_Repeater_Table{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Repeater_Table = new ACF_Repeater_Table(); $ACF_Repeater_Table->row_actions();
Changelog
| Since 6.0.0 | Introduced. |
ACF_Repeater_Table::row_actions() ACF Repeater Table::row actions code ACF 6.8.8
<?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
}