[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-includes/routes/ -> settings.php (summary)

Routes: GP_Route_Settings class

File Size: 68 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

GP_Route_Settings:: (2 methods):
  settings_get()
  settings_post()


Class: GP_Route_Settings  - X-Ref

Core class used to implement the settings route.

settings_get()   X-Ref
Displays the settings page, requires a user to be logged in.


settings_post( $user_id = null )   X-Ref
Saves settings for a user and redirects back to the settings page.

param: int $user_id Optional. A user id, if not provided the id of the currently logged in user will be used.



Generated: Sun Dec 22 01:01:04 2024 Cross-referenced by PHPXref 0.7.1