Skip to content

mc_use_permalinks

github-actions[bot] edited this page Jun 14, 2026 · 7 revisions

Check whether permalinks are enabled.

Auto-generated Example

add_filter(
   'mc_use_permalinks',
    function( string $option ) {
        // Your code here.
        return $option;
    }
);

Parameters

  • string $option Value of mc_use_permalinks setting.

Returns

string 'true' value if permalinks are enabled.

Files

apply_filters( 'mc_use_permalinks', mc_get_option( 'use_permalinks' ) )
apply_filters( 'mc_use_permalinks', mc_get_option( 'use_permalinks' ) )

← All Hooks

Clone this wiki locally