make filter function static
This commit is contained in:
parent
85ca37aa1d
commit
a9a5b112b0
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Test_Inbox extends WP_UnitTestCase {
|
||||||
\add_filter( 'pre_get_remote_metadata_by_actor', array( '\Test_Inbox', 'get_remote_metadata_by_actor' ), 10, 2);
|
\add_filter( 'pre_get_remote_metadata_by_actor', array( '\Test_Inbox', 'get_remote_metadata_by_actor' ), 10, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_remote_metadata_by_actor( $value, $actor ) {
|
public static function get_remote_metadata_by_actor( $value, $actor ) {
|
||||||
return array(
|
return array(
|
||||||
"name" => "Example User",
|
"name" => "Example User",
|
||||||
"icon" => array(
|
"icon" => array(
|
||||||
|
|
Loading…
Reference in a new issue