Filter acf_tablefield/get_table/prepend_table
This filter enables HTML prepending the table using get_table()
or other table HTML returning functions and methodes. This filter is for example used to insert the table caption.
Parameters
add_filter( 'acf_tablefield/get_table/prepend_table', function( $html, $param, $table_data ) {
return $html;
}, 10, 3 );
-
$html
HTML string of the previously added HTML.
-
$param['field_name']
-
$param['post_id']
-
$param['field']
The ACF field object
-
$table_data
The table data.