update
This commit is contained in:
@@ -1041,6 +1041,9 @@ class UserFeedback_Frontend
|
||||
*/
|
||||
private function render_exclusion_banner($exclusion_reason = 'administrator')
|
||||
{
|
||||
// Wyłączone: nie pokazujemy banera "Survey is Hidden for Administrators" na froncie.
|
||||
return;
|
||||
|
||||
// Get banner configuration with filter for customization
|
||||
$config = apply_filters('userfeedback_exclusion_banner_config', array(
|
||||
'title' => __('Survey is Hidden for Administrators', 'userfeedback'),
|
||||
@@ -1118,4 +1121,5 @@ class UserFeedback_Frontend
|
||||
}
|
||||
}
|
||||
|
||||
new UserFeedback_Frontend();
|
||||
// Wyłączone: cały frontend UserFeedback (widget ankiet) nie jest ładowany na stronie publicznej.
|
||||
// new UserFeedback_Frontend();
|
||||
|
||||
Reference in New Issue
Block a user