MailPoet\EmailEditor\Integrations\Core\Renderer\Blocks
List_Item::add_spacer()
Override this method to disable spacing (block gap) for list items.
Method of the class: List_Item{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->add_spacer( $content, $email_attrs ): string;
- $content(string) (required)
- Content.
- $email_attrs(array) (required)
- Email attributes.
List_Item::add_spacer() List Item::add spacer code WC 9.8.1
protected function add_spacer( $content, $email_attrs ): string { return $content; }