Tag Info

New answers tagged

0

That's because you need to print your settings fields in Kaipo_menu_callback, something like: <?php function Kaipo_menu_callback() { ?> <div class="wrap"> <h2>Kaipo</h2> <form action="options.php" method="post"><?php do_settings_sections( 'kaipo_menu_page' ); settings_fields( 'kaipo_menu_page' ...


0

You're creating a string representation of an array, when you need an actual array! $blogusers = get_users(); $options = array(); foreach ( $blogusers as $user ) { $options[ $user->user_email ] = $user->user_email; // No need to pass through __(), don't translate emails! } And then pass it to your options argument: $this->form_fields = ...


0

Change your id from plugin_text_string to plugin_options.



Top 50 recent answers are included