Function __global->rebuild_all_cpf_indices

Definitions

sources/cns_members_action2.php

  • Rebuild custom profile field indices.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$leave_existing boolean No No False N/A N/A Whether to leave existing indexes alone (may be useful as deleting then recreating indexes can be very slow)

Preview

Code (PHP)

/**
 * Rebuild custom profile field indices.
 *
 * @param  boolean $leave_existing Whether to leave existing indexes alone (may be useful as deleting then recreating indexes can be very slow)
 */

function rebuild_all_cpf_indices(bool $leave_existing = false)