'sanitize_text_field', ]); }); function command_post_settings_page() { $api_key = get_option('command_post_api_key', ''); $last_ping = get_option('command_post_last_ping', null); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- presence check only, no data read/processed; this is core's own Settings API redirect flag after options.php's nonce-protected save. $saved = isset($_GET['settings-updated']); ?>
Settings saved.
| WordPress version | |
|---|---|
| PHP version | |
| API key set | |
| Next scheduled ping |