Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
WPUM_REMOVESCOVERPHOTO::wpum_profile_cover_removed( $user_id )
Contents
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Parameters Parameters
- $user_id
(Required)
Source Source
File: src/integrations/wp-user-manager/triggers/wpum-removescoverphoto.php
public function wpum_profile_cover_removed( $user_id ) { if ( 0 === absint( $user_id ) ) { // Its a logged in recipe and // user ID is 0. Skip process return; } $pass_args = [ 'code' => $this->trigger_code, 'meta' => $this->trigger_meta, 'user_id' => $user_id, 'ignore_post_id' => true, ]; Automator()->maybe_add_trigger_entry( $pass_args ); }
Expand full source code Collapse full source code View on Github