Browse: Home / Hooks /

learndash_post_args_groups

apply_filters_deprecated( 'learndash_post_args_groups',  array $group_args )

Filters the post type registration arguments.


Description #


Parameters #

$group_args

(array) Post type arguments.


Source #

File: includes/class-ld-lms.php


Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?php
/**
 * Example usage for ld_group_email_users_after action.
 */
add_action(
	'ld_group_email_users_after',
	function( $mail_args, $success ) {
		// May add any custom logic using $mail_args, $success

	},
	10,
	2
);