mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Added docs
This commit is contained in:
@@ -1402,6 +1402,16 @@ if ( ! class_exists( 'um\core\Fields' ) ) {
|
||||
$blacklist = array_merge( $blacklist, $um_wp_native_functions_list );
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the blacklist of the functions that cannot be used as custom callback for dropdown field to populate the options.
|
||||
*
|
||||
* @since 2.5.1
|
||||
* @hook um_dropdown_options_source_blacklist
|
||||
*
|
||||
* @param {array} $blacklist Functions blacklist.
|
||||
*
|
||||
* @return {array} Functions blacklist.
|
||||
*/
|
||||
return apply_filters( 'um_dropdown_options_source_blacklist', $blacklist );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user