buddy group hide notice join
function victor_dont_save_join_group_activity( $activity_object ) {
$exclude = array( 'joined_group' );
if( in_array( $activity_object->type, $exclude ) )
$activity_object->type = false;
}
add_action('bp_activity_before_save', 'victor_dont_save_join_group_activity', 1, 1 );
Also in PHP:
- date format php l with capital
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". php 8
- create database seeder in laravel
- Basic features of Exception Handling php
- current date() in php
- daye in php
- php random string generator
- codeigniter echo last query
- date format php datetime
- create laravel project terminal
- check type of object in php
- catch multiple exception php
- filter_var filter_validate_url
- check is a key of array exist php
- Connect to SQL in a php PDO and print the data in it
- add days in current date php
- ?name="" value in php
- find a string in another one phph
- How to handle max time of execution
- check string contain symbol in php
- create new laravel project composer
- buscar un substring dentro de un string php
- date() today php
- convert string to date php