I want to convert the title to slug but I don't know which slug function or mechanism is using in Q2A.
Tell me a function to convert title to slug- Like Q2A -
$slug=q2a_slug_function($title); echo $slug ;
$slug=q2a_slug_function($title);
echo $slug ;
I know slugs are not storing in the database.
I want to use the q2a slug function mechanism to convert title to slug.
Convert all title to slug and store in an array for using anywhere in custom page.
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.