ZodiacPress House Systems

Remove a House System From The House Cusps Data Table

The House Cusps data table lists house cusps for multiple house systems. You can remove a house system row with the following example. This example omits the Equal Houses (‘E’) row from the House Cusps data table. You can change the ‘E’ on line 6 to the official letter for any of the included house systems (all house systems and their official letters are listed below).

/**
* Omit Equal house cusps from the House Cusps table.
*/		
function my_cusps_table_omit_equal_houses( $house_systems ) {

	$house_systems[] = 'E';
	
	return $house_systems;
}
add_filter( 'zphs_cusps_table_omit_house_sys', 'my_cusps_table_omit_equal_houses' );

To remove more than one house system, add a line for each system. The next example removes Equal Houses (‘E’) on line 6, and Alcabitius Houses (‘B’) on line 7.

/**
* Omit Alcabitius and Equal house cusps from the House Cusps table.
*/		
function my_cusps_table_omit_houses( $house_systems ) {
	
	$house_systems[] = 'E';
	$house_systems[] = 'B';

	
	return $house_systems;
}
add_filter( 'zphs_cusps_table_omit_house_sys', 'my_cusps_table_omit_houses' );

You can modify the code above to remove any house system from the House Cusps data table. Here are all the included house systems and their official letters. You can take any of the lines below and insert them into the example above, immediately after line 7.

$house_systems[] = 'B'; // Alcabitius
$house_systems[] = 'C'; // Campanus
$house_systems[] = 'E'; // Equal Houses
$house_systems[] = 'K'; // Koch
$house_systems[] = 'X'; // Meridian
$house_systems[] = 'M'; // Morinus
$house_systems[] = 'P'; // Placidus
$house_systems[] = 'O'; // Porphyry
$house_systems[] = 'R'; // Regiomontanus
$house_systems[] = 'T'; // Topocentric (a.k.a. Polich/Page )
$house_systems[] = 'V'; // Vehlow
$house_systems[] = 'W'; // Whole Sign Houses

Ask a Question

Your email address will not be published.