ACF Table Field Pro Add-on Docs Last updated:

Filter acf_tablefield/get_table/cell_content

This filter enables changing the content of table cells HTML elements using get_table() or other table HTML returning functions and methodes.

Parameters

add_filter( 'acf_tablefield/get_table/cell_content', function( $cell_content, $param ) { 
 
	return $cell_content; 
}, 10, 2 );
    • $cell_content
    • (string)
    • The content of the cell.

    • $param['elem_slug']
    • (string)
    • $param['data_key']
    • (string)
    • $param['table_options']
    • (array)
    • $param['row_options']
    • (array)
    • $param['cell_options']
    • (array)
    • $param['row_index']
    • (integer)
    • $param['col_index']
    • (integer)

Previous and Next Sources

Parent sources

Parent sources

On this page