Browse: Home / Hooks /


apply_filters( 'learndash_30_focus_mode_width',  string $focus_width_setting )

Filters focus mode width setting value. Override the focus mode width set in settings.

Description #

Parameters #


(string) Focus mode width. Default value is default.

Source #

File: themes/ld30/includes/helpers.php

Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 * Example usage for learndash_30_focus_mode_width filter.
	function( $focus_width_setting ) {
		// May add any custom logic using $focus_width_setting.

		// Always return $focus_width_setting.
		return $focus_width_setting;

Changelog #

Version Description
3.0.5 Introduced.