ACF Table Field Pro Add-on Docs Last updated:

Filter acf_tablefield/get_table/before_table

This filter enables HTML before the table using get_table() or other table HTML returning functions and methodes.

Parameters

add_filter( 'acf_tablefield/get_table/before_table', function( $html, $param, $table_data ) { 
 
	return $html; 
}, 10, 3 );
    • $html
    • (string)
    • HTML string of the previously added HTML.

    • $param['field_name']
    • (string)
    • $param['post_id']
    • (integer)
    • $param['field']
    • (array)
    • The ACF field object

    • $table_data
    • (array)
    • The table data.

Previous and Next Sources

Parent sources

Parent sources

On this page