Good day,
I know this snippet of code works well in ones functions.php;
<?php
global $wp_rewrite;
$wp_rewrite->author_base = "members";
$wp_rewrite->flush_rules();
?>
But what if i want to have "members" as a more dynamic value?
Let's say i want it to be $abs_members that is defined earlier and gets it's value from the db via a save in ones theme option?
Simple chaning "members" to $abs_members or "$abs_members" does not work.
So any suggestions? Any help would be appreciated. :)