% This file is embedded in glossaries-extra-manual.pdf 
% Example 102 Category post-link hook
% Label: "ex:catpostlink"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries-extra}
\glsdefpostlink{general}{*}
\newglossaryentry{sample}{name={sample},symbol={X},description={an example}} 
\begin{document}
\Gls{sample}, \glstext{sample}, \glsdesc{sample} and \glssymbol{sample}. 
\end{document}
