Created
November 4, 2022 12:00
-
-
Save yuriinalivaiko/dc7238ba2843b75df05573cbffc39f5b to your computer and use it in GitHub Desktop.
Hook um_form_official_classes__hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Hook: um_form_official_classes__hook | |
* | |
* Type: filter | |
* | |
* Description: Change official form classes. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/includes/core/class-shortcodes.php#L349 | |
* @link https://docs.ultimatemember.com/article/1135-umformofficialclasseshook | |
* | |
* @package um\core | |
* @see um\core\Shortcodes::get_class() | |
* @since 2.0 | |
* @version 3.0 | |
* | |
* @param string $classes Classes string. | |
* | |
* @return string Classes string. | |
*/ | |
function my_form_official_classes( $classes ) { | |
// your code here. | |
return $classes; | |
} | |
add_filter( 'um_form_official_classes__hook', 'my_form_official_classes', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment