Transforms a kebab-case string to camelCase.
Parameters
$str
stringrequired- The kebab-case string to transform to camelCase.
Source
'exit' => $p->is_tag_closer() || ! $p->has_and_visits_its_closer_tag(),
);
// Get the element attributes to include them in the element representation.
$element_attrs = array();
$attr_names = $p->get_attribute_names_with_prefix( '' ) ?? array();
foreach ( $attr_names as $name ) {
$element_attrs[ $name ] = $p->get_attribute( $name );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.