Skip to content

Commit 239ba5c

Browse files
authored
add slash to wp method
The wp get_option method is causing issues when running lint in other projects. This should properly scope it.
1 parent df88992 commit 239ba5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct( string $name ) {
4949
* @return array
5050
*/
5151
public function fetch() {
52-
return (array) get_option( $this->optionName, [] );
52+
return (array) \get_option( $this->optionName, [] );
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)