learndash_delete_group

learndash_delete_group( int $pid )

Deletes group ID from all users meta when the group is deleted.


Description #

Fires on delete_post hook.


Parameters #

$pid

(int) (Required) ID of the group being deleted.


Return #

(boolean|void) Returns true if the deletion was successfull.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.