phpsword / sword-bundle

Modern WordPress development with Symfony
https://getsword.com
MIT License
125 stars 4 forks source link

Reauthenticate user in Symfony when Wordpress user is still logged in #19

Closed williarin closed 1 year ago

williarin commented 1 year ago

Fixes #5

Also adds WordpressLoader::loadWordpress() public method that loads only wp-load.php, which is useful to execute Wordpress functions.

New config parameter sword.app_namespace which defaults to App\, to limit the reauth sync to pages of the app.