使用widgets_init钩子调用此函数:. add_action( 'widgets_init', function() { register_widget( 'My_Widget' ); } );. 当您使用register_sidebar()注册 ...
確定! 回上一頁