Scripts creates a menu list substituting the first word itself. This is the word that needs to be written in css, but I don’t know how to insert styles into php. tell me. Here is the code:
public function getProfileMenu($profile){ $menu = array( array( 'title' => ($profile['nickname']), 'url' => href_to($this->name, $profile['id']), 'url_mask' => href_to($this->name, $profile['id']), ) ); It is necessary to add styles to the nickname (that is, to insert html in php).