Property | Type | Description | |
---|---|---|---|
$connectors | |||
$handler |
Method | Description | |
---|---|---|
add_schedule ( $schedules ) | Add a more frequent cron schedule | |
bootstrap ( ) | ||
check_inbox ( ) | ||
convert_html_to_text ( string $html ) : string | Convert the post content to text | |
get_connectors ( ) | ||
get_from_address ( ) : string | Get the From address | |
get_handler_class ( string | null $type = null ) | Get the registered handler class for a certain type | |
get_handlers ( ) : array | Get all available handlers | |
get_hash ( integer $post_id, WP_User $user, $site_id ) : string | Get the verification hash for a post and user | |
get_option ( $key, $default = false ) | ||
get_reply_address ( integer $post_id, WP_User $user, $site_id = null ) : string | Get the reply-to address for a post and user | |
is_enabled_for_site ( integer $site_id = null ) : boolean | Is Falcon enabled for this site? | |
is_network_mode ( ) : boolean | Is Falcon in network mode? | |
notify_invalid ( WP_User $user, $title ) | Notify the user of an invalid reply | |
post_callback ( ) | ||
should_send_async ( ) : boolean | Should notifications be sent asynchronously? |
Method | Description | |
---|---|---|
get_available_connectors ( ) : array | Get available connectors | |
get_handler ( ) : bbSubscriptions_Handler | Get a mail handler based on the config |
public static add_schedule ( $schedules ) |
public static convert_html_to_text ( string $html ) : string | ||
$html | string | HTML to convert |
return | string | Text version of the content |
protected static get_available_connectors ( ) : array | ||
return | array |
public static get_from_address ( ) : string | ||
return | string | Full email address |
protected static get_handler ( ) : bbSubscriptions_Handler | ||
return | bbSubscriptions_Handler |
public static get_handler_class ( string | null $type = null ) | ||
$type | string | null | Type to get, defaults to the option |
public static get_handlers ( ) : array | ||
return | array | Associative array of identifier => handler class |
public static get_reply_address ( integer $post_id, WP_User $user, $site_id = null ) : string | ||
$post_id | integer | Post ID |
$user | WP_User | User object |
return | string | Full email address |
public static is_enabled_for_site ( integer $site_id = null ) : boolean | ||
$site_id | integer | Site to check. Default is current site. |
return | boolean |
public static is_network_mode ( ) : boolean | ||
return | boolean |
public static notify_invalid ( WP_User $user, $title ) | ||
$user | WP_User | User that supposedly sent the email |
public static should_send_async ( ) : boolean | ||
return | boolean |