WPGlobus
  • Package
  • Class

Packages

  • WPGlobus
    • ACF
    • Admin
      • Customizer
      • HelpDesk
      • Options
        • Field
    • All-in-One-SEO
    • Compat
    • MailChimp
    • RevSlider
    • The-Events-Calendar
    • Yoast

Classes

  • WPGlobus_About
  • WPGlobus_Addons
  • WPGlobus_Admin_Page
  • WPGlobus_Clean
  • WPGlobus_Plugin_Install

Class WPGlobus_Clean

Class WPGlobus_Clean

Package: WPGlobus\Admin
Located at includes/admin/class-wpglobus-clean.php

Methods summary

public static
# controller( )

Controller

Controller

protected static
# _set_log_file( )

Initialize the class variable log_file. Note: 'wp-content' can be set to a different path, so we are using the standard WP method.

Initialize the class variable log_file. Note: 'wp-content' can be set to a different path, so we are using the standard WP method.

public static
# get_table( string $table = '' )

Get table

Get table

Parameters

$table
Table name to set data.
public static
# get_table_list( )

Get table list

Get table list

public static
# process_ajax( string[] $order )

Ajax action handler

Ajax action handler

Parameters

$order
public static
# _log( string $table = '', string $id = '', string $initial = '', string $converted = '' )

Logger

Logger

Parameters

$table
$id
$initial
$converted
public static
# action__admin_print_scripts( )

Enqueue js

Enqueue js

public static
# screen( )

Output the clean screen.

Output the clean screen.

public static mixed
# convert( mixed $data )

Convert string to text with default language

Convert string to text with default language

Parameters

$data

Returns

mixed
$data

Constants summary

string LOG_BASENAME
# 'wpglobus-clean'

Properties summary

protected static array $tables
# array()
protected static string $log_file
# ''
WPGlobus API documentation generated by ApiGen