WpWodify\Settings

Settings Class

Synopsis

class Settings {
  • // members
  • protected  $name;
  • protected string $prefix = 'wp-wodify-';
}

Coverage

Methods 100% 7 / 7
Lines 100% 28 / 28

Members

protected

  • $name — string
    Stores the name of the section.
  • $prefix — string
    Stores the plugin specific prefix for names in the settings.

Methods

protected

  • get_slug() — Gets the slug for the settings section.
  • humanize() — Takes a machine string, and makes it more human friendly.
  • machinify() — Takes a human string, and makes it more machine friendly.

public

History