diff --git a/includes/core/class-shortcodes.php b/includes/core/class-shortcodes.php index c982fc95..87175b7b 100644 --- a/includes/core/class-shortcodes.php +++ b/includes/core/class-shortcodes.php @@ -602,6 +602,16 @@ if ( ! class_exists( 'um\core\Shortcodes' ) ) { * @return string */ public function ultimatemember( $args = array() ) { + // There is possible to use 'shortcode_atts_ultimatemember' filter for getting customized `$args`. + $args = shortcode_atts( + array( + 'form_id' => '', + 'is_block' => 0, + ), + $args, + 'ultimatemember' + ); + /** * Filters variable for enable singleton shortcode loading on the same page. * Note: Set it to `false` if you don't need to render the same form twice or more on the same page. diff --git a/ultimate-member.php b/ultimate-member.php index 3949f110..5e8517cd 100644 --- a/ultimate-member.php +++ b/ultimate-member.php @@ -3,7 +3,7 @@ * Plugin Name: Ultimate Member * Plugin URI: http://ultimatemember.com/ * Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress - * Version: 2.6.11-alpha + * Version: 2.6.11 * Author: Ultimate Member * Author URI: http://ultimatemember.com/ * Text Domain: ultimate-member