Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yscik committed Apr 24, 2024
1 parent b5d3ae5 commit df2ed43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/ui/class-ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ public function enqueue_styles() {
if ( $this->has_ui || wp_style_is( 'wp-job-manager-ui', 'enqueued' ) ) {
wp_enqueue_style( 'wp-job-manager-ui' );

/**
* Filter whether to load the script that detects theme colors and styles for the plugin's UI elements.
*/
if ( apply_filters( 'job_manager_ui_theme_support_script', true ) ) {
wp_enqueue_script( 'wp-job-manager-ui-theme-support' );
}
Expand Down

0 comments on commit df2ed43

Please sign in to comment.