public function enqueueSemanticUiLibs(string $which = 'all')
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        if ($which === 'all' || $which === 'styles') {
            $data['styles'] = $this->enqueueSemanticUiStyles();
        }
        if ($which === 'all' || $which === 'scripts') {
            $data['scripts'] = $this->enqueueSemanticUiScripts();
        }
        return $data = $data ?? [];
    }
public function enqueueSemanticUiLibs(string $which = 'all')
    {
        if (($data = $this->didEnqueueLibs(__METHOD__))) {
            return $data; // Did this already.
        } // We only need to enqueue once.

        if ($which === 'all' || $which === 'styles') {
            $data['styles'] = $this->enqueueSemanticUiStyles();
        }
        if ($which === 'all' || $which === 'scripts') {
            $data['scripts'] = $this->enqueueSemanticUiScripts();
        }
        return $data = $data ?? [];
    }
public function enqueueSemanticUiLibs ( string $ which = 'all' ) { if ( ( $ data = $ this -> didEnqueueLibs ( __METHOD__ ) ) ) { return $ data ; // Did this already. } // We only need to enqueue once. if ( $ which === 'all' || $ which === 'styles' ) { $ data [ 'styles' ] = $ this -> enqueueSemanticUiStyles ( ) ; } if ( $ which === 'all' || $ which === 'scripts' ) { $ data [ 'scripts' ] = $ this -> enqueueSemanticUiScripts ( ) ; } return $ data = $ data ?? [ ] ; }
Enqueue Semantic UI libs.

@since 170128.18158 Semantic UI libs.

@param string $which One of `styles`, `scripts`, `all`.

@return array Library details.
Enqueue Semantic UI libs .