mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- added um_force_shortcode_render hook for echo custom content in ultimatemember shortcode;
This commit is contained in:
@@ -805,6 +805,12 @@ if ( ! class_exists( 'um\core\Shortcodes' ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
$content = apply_filters( 'um_force_shortcode_render', false, $args );
|
||||
if ( false !== $content ) {
|
||||
ob_get_clean();
|
||||
return $content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fires before loading form shortcode.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user