mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-06 11:10:43 +08:00
parent
148109d980
commit
0d9a1dd3a6
8 changed files with 31 additions and 33 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace MainWP\Child;
|
||||
|
||||
|
||||
class MainWP_Child_DB {
|
||||
// phpcs:disable WordPress.DB.RestrictedFunctions, WordPress.DB.PreparedSQL.NotPrepared -- unprepared SQL ok, accessing the database directly to custom database functions.
|
||||
// Support old & new versions of WordPress (3.9+).
|
||||
|
|
|
@ -112,7 +112,6 @@ if ( ! function_exists( 'mainwp_child_helper' ) ) {
|
|||
* Get MainWP Child helper instance.
|
||||
*
|
||||
* @return mixed MainWP\Child\MainWP_Helper
|
||||
*
|
||||
*/
|
||||
function mainwp_child_helper() {
|
||||
return MainWP\Child\MainWP_Helper::instance();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue