Changeset 6944
- Timestamp:
- 03/28/2018 12:42:56 AM (8 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/camptix-tweaks
- Files:
-
- 4 added
- 1 edited
-
addons (added)
-
addons/accommodations.php (added)
-
addons/allergy.php (added)
-
addons/code-of-conduct.php (added)
-
camptix-tweaks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/camptix-tweaks/camptix-tweaks.php
r6846 r6944 30 30 add_action( 'init', __NAMESPACE__ . '\camptix_debug', 9 ); // CampTix does this at 10. 31 31 add_filter( 'camptix_default_addons', __NAMESPACE__ . '\load_addons' ); 32 add_action( 'camptix_load_addons', __NAMESPACE__ . '\load_custom_addons', 11 ); 32 33 add_filter( 'camptix_capabilities', __NAMESPACE__ . '\modify_capabilities' ); 33 34 add_filter( 'camptix_default_options', __NAMESPACE__ . '\modify_default_options' ); … … 544 545 545 546 /** 547 * WordCamp-specific addons. 548 */ 549 function load_custom_addons() { 550 // Allergy field 551 require_once( __DIR__ . '/addons/allergy.php' ); 552 // Accommodations field 553 require_once( __DIR__ . '/addons/accommodations.php' ); 554 // Code of Conduct field 555 require_once( __DIR__ . '/addons/code-of-conduct.php' ); 556 } 557 558 /** 546 559 * Modify CampTix's default capabilities 547 560 */
Note: See TracChangeset
for help on using the changeset viewer.