diff --git a/wordpress-coding-standards/php.md b/wordpress-coding-standards/php.md index a390561..880643e 100644 --- a/wordpress-coding-standards/php.md +++ b/wordpress-coding-standards/php.md @@ -506,11 +506,6 @@ add_action( 'action_name', array( My_Class::class, 'method_name' ) ); add_action( 'action_name', array( My_Class :: CLASS, 'method_name' ) ); ``` -_Usage in WordPress Core_ - -The `::class` constant can be used in WordPress Core. -Replacing existing uses of `__CLASS__` with `self::class` and `get_called_class()` with `static::class`, where appropriate, is encouraged. - ## Declare Statements, Namespace, and Import Statements ### Namespace declarations