Skip to content

mc_use_permalinks

Joe Dolson edited this page May 15, 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

{bool} 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