- fix wrong user id in account block

This commit is contained in:
ashubawork
2023-04-27 12:51:57 +03:00
parent bcadcfc7bd
commit 5c40cf7b08
4 changed files with 48 additions and 32 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ if ( ! class_exists( 'um\core\Blocks' ) ) {
public function um_account_render( $atts ) {
$shortcode = '[ultimatemember_account';
$shortcode = '[ultimatemember_account widget="1"';
if ( isset( $atts['tab'] ) && 'all' !== $atts['tab'] ) {
$shortcode .= ' tab="' . $atts['tab'] . '"';