Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
タイトルが示すように、ウィジェット コンストラクターに引数を渡すにはどうすればよいですか? ソースコードを見ると、register_widget() はクラス名しかとらないようです。
wp_register_widget_control() への言及をいくつか見ました。これは私が考慮すべきことですか?もしそうなら、誰かが引数を渡すためにそれを使用する方法についての短いコード例を教えていただければ幸いです。