The structure is stored in the option permalink_structure
. Pretty permalinks are disabled if the option is empty.
$structure = get_option( 'permalink_structure' );
The structure is stored in the option permalink_structure
. Pretty permalinks are disabled if the option is empty.
$structure = get_option( 'permalink_structure' );