apply_filters( 'learndash_focus_header_logo_url', string $logo_url, int $course_id, int $user_id )
Filters Focus mode header logo URL.
Description #
This filter will be called only if there is a logo set in LearnDash plugin settings.
Parameters #
- $logo_url
-
(string) Header logo URL.
- $course_id
-
(int) Course ID.
- $user_id
-
(int) User ID.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for learndash_focus_header_logo_url filter. */ add_filter( 'learndash_focus_header_logo_url', function( $header_logo_url = '', $course_id = 0, $user_id = 0 ) { $header_logo_url = ''; // Always return $header_log_url; return $header_logo_url; }, 30, 3 );
Changelog #
Version | Description |
---|---|
3.1.0 | Introduced. |