Changeset 13991 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 07/27/2024 08:16:17 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r13983 r13991 4824 4824 */ 4825 4825 function bp_add_optout( $args = array() ) { 4826 $ optout = new BP_Optout();4827 $r = bp_parse_args(4828 $args,array(4826 $r = bp_parse_args( 4827 $args, 4828 array( 4829 4829 'email_address' => '', 4830 4830 'user_id' => 0, … … 4839 4839 return false; 4840 4840 } 4841 4842 $optout = new BP_Optout(); 4841 4843 4842 4844 // Avoid creating duplicate opt-outs. … … 4873 4875 */ 4874 4876 function bp_get_optouts( $args = array() ) { 4875 $optout_class = new BP_Optout(); 4876 return $optout_class::get( $args ); 4877 return BP_Optout::get( $args ); 4877 4878 } 4878 4879
Note: See TracChangeset
for help on using the changeset viewer.