'', 'description' => '', 'admin_label' => '', 'admin_description' => '', 'searchable' => false, 'search_placeholder' => '', 'options' => array(), ); $args = wp_parse_args( $args, $defaults ); $this->types[ $recipient_type ] = $args; } /** * Returns all registered recipient types. * * @since 1.0.0 * * @return array */ public function get_types() { return $this->types; } } endif;