-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LearnPress and Uncaught Error after update
- Loading branch information
Showing
9 changed files
with
479 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...es/iworks/omnibus/integration/v4/class-iworks-omnibus-integration-learnpress-settings.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
use LearnPress\Helpers\Config; | ||
|
||
/** | ||
* Class LP_Settings_Permalink | ||
* | ||
* @author ThimPress | ||
* @package LearnPress/Admin/Settings | ||
* @since 4.1.7.3.2 | ||
* @version 1.0.0 | ||
*/ | ||
class iworks_omnibus_integration_learnpress_settings extends LP_Abstract_Settings_Page { | ||
/** | ||
* Construct | ||
*/ | ||
public function __construct() { | ||
$this->id = 'omnibus'; | ||
$this->text = esc_html__( 'Omnibus', 'omnibus' ); | ||
|
||
parent::__construct(); | ||
} | ||
|
||
/** | ||
* Return fields for settings page. | ||
* | ||
* @param string $section | ||
* @param string $tab | ||
* | ||
* @return mixed | ||
*/ | ||
public function get_settings( $section = '', $tab = '' ) { | ||
return apply_filters( 'iworks/omnibus/learn-press/settings', array() ); | ||
} | ||
|
||
} | ||
|
||
return new iworks_omnibus_integration_learnpress_settings(); |
Oops, something went wrong.