| @@ -4,10 +4,10 @@ | ||
| 4 | 4 | * |
| 5 | 5 | * Action/filter hooks used for Charitable Upgrades. |
| 6 | 6 | * |
| 7 | 7 | * @package Charitable/Functions/Upgrades |
| 8 | - * @author Eric Daams | |
| 9 | - * @copyright Copyright (c) 2019, Studio 164a | |
| 8 | + * @author David Bisset | |
| 9 | + * @copyright Copyright (c) 2023, WP Charitable LLC | |
| 10 | 10 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 11 | 11 | * @since 1.3.0 |
| 12 | 12 | * @version 1.5.0 |
| 13 | 13 | */ |
| @@ -12,9 +12,11 @@ | ||
| 12 | 12 | * @version 1.5.0 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | 15 | // Exit if accessed directly. |
| 16 | -if ( ! defined( 'ABSPATH' ) ) { exit; } | |
| 16 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 17 | + exit; | |
| 18 | +} | |
| 17 | 19 | |
| 18 | 20 | /** |
| 19 | 21 | * Check if there is an upgrade that needs to happen and if so, display a notice to begin upgrading. |
| 20 | 22 | * |
| @@ -76,4 +78,11 @@ | ||
| 76 | 78 | * |
| 77 | 79 | * @see Charitable_Upgrade::fix_empty_donor_ids() |
| 78 | 80 | */ |
| 79 | 81 | add_action( 'charitable_fix_empty_donor_ids', array( Charitable_Upgrade::get_instance(), 'fix_empty_donor_ids' ) ); |
| 82 | + | |
| 83 | +/** | |
| 84 | + * ???? | |
| 85 | + * | |
| 86 | + * @see Charitable_Upgrade::create_activity_tables() | |
| 87 | + */ | |
| 88 | +add_action( 'charitable_create_activity_tables', array( Charitable_Upgrade::get_instance(), 'create_activity_tables' ) ); | |