Add code comment to private method

This commit is contained in:
Sam Seay 2024-08-19 17:37:26 +08:00
parent b88d8e855d
commit fd6cb0edbe
No known key found for this signature in database
GPG Key ID: 2223711A9151668A
1 changed files with 6 additions and 1 deletions

View File

@ -44,6 +44,11 @@ class MiniCartInteractivity extends AbstractBlock {
return $cart;
}
/**
* Get the interactivity namespace attribute.
*
* @return string|false
*/
private function get_interactivity_namespace_attribute() {
return wp_json_encode(
array( 'namespace' => $this->get_full_block_name() ),