All WordPress Options on One Admin Page

When working with WordPress, it is sometimes necessary to view all possible options (settings) available in the wp_options table. This can be done on the hidden admin page /wp-admin/options.php.

If you need to access this page frequently, you can add it to the settings menu. The code below shows how to add a link to this hidden page of all options in the "Settings" menu. The link is added only when WP_DEBUG mode is enabled.

## Adds a link to the all settings page in the "Settings" admin menu
if( WP_DEBUG && is_admin() ){

	add_action( 'admin_menu', function(){
		add_options_page( 'All Options', 'All Options', 'manage_options', 'options.php' );
	} );

}
Hidden page of all settings added to the Settings menu

See the list of WP options here