Class Socialveo\Core\plugins\WordPressListener

InheritanceSocialveo\Core\plugins\WordPressListener » Phalcon\Mvc\User\Plugin

Class WordPressListener

Public Methods

Hide inherited methods

MethodDescriptionDefined By
register() Handles "wordpress:register" event Socialveo\Core\plugins\WordPressListener
singleSignon() Handles "wordpress:singleSignon" event Socialveo\Core\plugins\WordPressListener
updateUserMeta() Update user meta when is updated on socialveo, sync of account between Socialveo and WP Socialveo\Core\plugins\WordPressListener
updateUserMetaVars() Update multiple user meta when is updated on socialveo, sync of account between Socialveo and WP Socialveo\Core\plugins\WordPressListener
updateUserPassword() Update user password on WP Socialveo\Core\plugins\WordPressListener

Method Details

register() public method (available since version 1.0)

Handles "wordpress:register" event

Register user on WP

public void register ( $event, $params )
$event Phalcon\Events\Event
$params array

Object User, user password, generated password

singleSignon() public method (available since version 1.0)

Handles "wordpress:singleSignon" event

Login user on WP (single sign-on)

public void singleSignon ( $event, $params )
$event Phalcon\Events\Event
$params array

Username, password, redirect, user_uuid

updateUserMeta() public method (available since version 1.0)

Update user meta when is updated on socialveo, sync of account between Socialveo and WP

public boolean updateUserMeta ( $event, $meta_key, $meta_value )
$event
$meta_key
$meta_value
updateUserMetaVars() public method (available since version 1.0)

Update multiple user meta when is updated on socialveo, sync of account between Socialveo and WP

public boolean updateUserMetaVars ( $event, $userData )
$event
$userData object
updateUserPassword() public method (available since version 1.0)

Update user password on WP

public boolean updateUserPassword ( $event, $data )
$event
$data