register_sidebar_widget can i use this function in loop
-
register_sidebar_widget
can i use this function in loop
foreach($getallWidgetDetails as $widgetDetails):register_sidebar_widget(__($widgetDetails->widgetTitle), ‘widget_myHelloWorld’);
endforeach;
function widget_myHelloWorld() {echo $title;
}
That;s my code it only creates widgets with the first name in the loop
Please Help!!!`
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘register_sidebar_widget can i use this function in loop’ is closed to new replies.