コード例 #1
0
ファイル: plugin.php プロジェクト: anderfilth/4rodasWP
        /**
         * Form in Settings page
         */
        public static function settings_page_form()
        {
            ob_start();
            self::$options = get_option(PT_CV_OPTION_NAME);
            ?>
			<form method="post" action="options.php">
				<?php 
            // This prints out all hidden setting fields
            settings_fields(PT_CV_OPTION_NAME . '_group');
            do_settings_sections(PT_CV_DOMAIN);
            submit_button();
            ?>
			</form>
			<?php 
            $text = ob_get_clean();
            echo $text;
        }