Carrington Build Documentation

Remove Rows

In some cases you may not want to offer a row as an option.

The easiest way to remove rows is to hook onto cfct-rows-loaded late, and use cfct_build_deregister_row (found in carrington-build.php) to remove rows by their classname, such as:

function example_deregister_some_row() {
cfct_build_deregister_row('cfct_row_ab');
cfct_build_deregister_row('cfct_row_abc');
}

add_action(‘cfct-rows-loaded’, ‘example_deregister_some_row’, 9999);

…which removes those two rows from the selection box.

See also:

Back to Carrington Build

These sections are available to the public. The remaining sections are available exclusively to customers.