I put in a plugin known as “Symbiosis” which creates classes robotically copying a consumer’s username upon them signing up.
Each time any consumer creates a submit on the positioning, I’m making an attempt to determine the right way to assign that class that was already created with the brand new submit.
I need to set WP Default Class to the authors username in order that when anybody creates a submit it robotically posts below their identify. (my customers do not need entry to default wp-panels)
I do know in regards to the dropdown within the settings > writing panel however that is not what I am in search of as I can’t customise the slug to a customers username.
Is that this doable by way of plugin or programatically someplace else?
The classes are all already created. I can pull the loggedin customers username and echo it however I am undecided the place to place it:
<?php international $current_user; if ( isset($current_user) ) {echo $current_user->user_login;}?>