- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
436 B
PHP
Executable File
26 lines
436 B
PHP
Executable File
<?php
|
|
|
|
namespace BWFCRM\Calls\Autonami;
|
|
|
|
use BWFCRM\Calls\Base;
|
|
|
|
/**
|
|
* Subscribe Contacts call class
|
|
*/
|
|
class Subscribe_Contacts extends Base {
|
|
|
|
/**
|
|
* @param \BWFCRM_Contact $contact
|
|
*
|
|
* @return mixed
|
|
*/
|
|
public function process_call( $contact, $data ) {
|
|
return $contact->resubscribe();
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Register call
|
|
*/
|
|
BWFCRM_Core()->calls->register_call( 'subscribe_contacts', 'BWFCRM\Calls\Autonami\Subscribe_Contacts' );
|