- fixed [ultimatemember] shortcode attributes;

This commit is contained in:
Mykyta Synelnikov
2023-08-31 11:27:11 +03:00
parent a2b52cdd0c
commit fca7b4b0d5
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -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.
+1 -1
View File
@@ -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