# Class RESTian_Base

#### Direct known subclasses

RESTian_Client
Located at core-classes/class-base.php

Methods summary
`public mixed` | # `add_filter( string $filter_name, string|array|object|integer $callable_object_or_priority = null, integer|null $priority = null )` Adds a filter hook for an object Adds a filter hook for an object $this->add_filter( 'filter_result' ); $this->add_filter( 'filter_result', 11 ); $this->add_filter( 'filter_result', 'special_func' ); $this->add_filter( 'filter_result', 'special_func', 11 ); $this->add_filter( 'filter_result', array( __CLASS__, 'class_func' ) ); $this->add_filter( 'filter_result', array( __CLASS__, 'class_func' ), 11 ); $this->add_filter( 'filter_result', new SpecialClass() ); $this->add_filter( 'filter_result', new SpecialClass(), 11 ); #### Parameters $filter_name `string` $filter_name $callable_object_or_priority `string|array|object|integer` $callable_object_or_priority Array Callable, String Callable, Class w/Named Filter or Priority $priority `integer|null` $priority #### Returns `mixed`
`public mixed` | # `add_action( string $action_name, string|array|object|integer $callable_object_or_priority = null, integer|null $priority = null )` Adds a filter hook for an object Adds a filter hook for an object $this->add_action( 'process_action' ); $this->add_action( 'process_action', 11 ); $this->add_action( 'process_action', 'special_func' ); $this->add_action( 'process_action', 'special_func', 11 ); $this->add_action( 'process_action', array( __CLASS__, 'class_func' ) ); $this->add_action( 'process_action', array( __CLASS__, 'class_func' ), 11 ); $this->add_action( 'process_action', new SpecialClass() ); $this->add_action( 'process_action', new SpecialClass(), 11 ); #### Parameters $action_name `string` $action_name $callable_object_or_priority `string|array|object|integer` $callable_object_or_priority Array Callable, String Callable, Class w/Named Action or Priority $priority `integer|null` $priority #### Returns `mixed`
`public mixed` | # `apply_filters( string $filter_name, mixed $value )` #### Parameters $filter_name `string` $filter_name $value `mixed` $value #### Returns `mixed`
`public mixed` | # `do_action( string $action_name )` #### Parameters $action_name `string` $action_name #### Returns `mixed`