I have been reading through the Wordpress Source, trying to get a better understanding of how dynamic sidebars are rendered.
However, I am hitting a sticking point...
894 | do_action( 'dynamic_sidebar', $wp_registered_widgets[$id] );
I can't find where add_action('dynamic_sidebar', ... ) is defined. Without that part, I am sort of lost in what happens.
See the code here:
为了提供更多上下文,我试图弄清楚如何从特定侧边栏中获取一组小部件,然后从那里,我需要知道如何渲染该数组中的每个小部件。
我需要比dynamic_sidebar(...);
给我更好的控制