We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ead0b1 commit 4b3c5fdCopy full SHA for 4b3c5fd
1 file changed
plugins/bcc-login/includes/class-bcc-login-widgets.php
@@ -133,6 +133,20 @@ function bcc_widgets_shortcodes() {
133
134
return $html . PHP_EOL;
135
} );
136
+
137
+ add_shortcode( 'bcc-hidden-treasures', function () {
138
+ $html = '<div id="bcc-hidden-treasures">';
139
+ $html .= '<bcc-hidden-treasures'
140
+ . ' language="' . esc_attr(get_culture()) . '"'
141
+ . ' authentication-type="webapp"'
142
+ . ' authentication-location="' . site_url( '?bcc-login=access-token' ) . '"'
143
+ . '></bcc-hidden-treasures>';
144
+ $html .= '</div>';
145
146
+ $html .= '<script src="http://localhost:3100/scripts/main.js" type="module"></script>';
147
148
+ return $html . PHP_EOL;
149
+ } );
150
}
151
152
function add_fields_for_topbar_search() {
0 commit comments