wp_plugin_template icon indicating copy to clipboard operation
wp_plugin_template copied to clipboard

do_settings

Open lcloss opened this issue 6 years ago • 1 comments

Hi Francis. First of all, congratulations for your work! That help me a lot. At settings.php template, you put:

<?php @do_settings_fields('wp_plugin_template-group'); ?>

But as do_settings_fields documentation says, it requires 2 parameters. I think I missed something.

lcloss avatar Aug 11 '18 19:08 lcloss

A bit late to the party here but just had the same issue! Just in case anyone else gets this the @do_settings_fields() command needs the page name and the group name passing to it so it should be @do_settings_fields('wp_plugin_template','wp_plugin_template-group').

MartinEdwards avatar Jun 24 '20 18:06 MartinEdwards