프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$hook_suffix | The hook suffix of the parent settings page |
메소드 | 설명 | |
---|---|---|
addHelpTab ( WP_Screen $screen ) : void | Display inline help content | |
addToSettingsPage ( string $hook_suffix ) : boolean | Add site attribution option and settings section to an existing settings page | |
defaultOptions ( ) : array | Default options if no options exist | |
defineRestrictionsSection ( ) : void | Add warnings settings section and fields | |
defineSection ( ) : void | Add theme settings section and fields | |
defineWarningsSection ( ) : void | Add warnings settings section and fields | |
displayBorderColor ( ) : void | Choose a hex color value as the border color | |
displayContentSecurityPolicy ( ) : void | Suppress a Content Security Policy warning | |
displayDoNotTrack ( ) : void | Do not track visitors for use in Twitter advertisers and site suggestions | |
displayLinkColor ( ) : void | Choose a hex color value as the link color | |
displayTheme ( ) : void | Choose a theme | |
featureName ( ) : string | Reference the feature by name | |
onload ( ) : void | Store existing options. Set up page sections | |
restrictionsSectionHeader ( ) : void | Introduction to the Twitter restrictions section | |
sanitizeOptions ( array $options ) : array | Sanitize theme options | |
sectionHeader ( ) : void | Introduce the settings page | |
themeChoices ( ) : array | Theme options and labels | |
warningsSectionHeader ( ) : void | Introduce the warnings section |
public static addHelpTab ( WP_Screen $screen ) : void | ||
$screen | WP_Screen | current screen |
리턴 | void |
public static addToSettingsPage ( string $hook_suffix ) : boolean | ||
$hook_suffix | string | hook suffix of an existing settings page |
리턴 | boolean | site attribution settings loaded |
public static defaultOptions ( ) : array | ||
리턴 | array | associative array of option values |
public defineRestrictionsSection ( ) : void | ||
리턴 | void |
public defineSection ( ) : void | ||
리턴 | void |
public defineWarningsSection ( ) : void | ||
리턴 | void |
public displayBorderColor ( ) : void | ||
리턴 | void |
public displayContentSecurityPolicy ( ) : void | ||
리턴 | void |
public displayDoNotTrack ( ) : void | ||
리턴 | void |
public displayLinkColor ( ) : void | ||
리턴 | void |
public static featureName ( ) : string | ||
리턴 | string | translated feature name |
public static restrictionsSectionHeader ( ) : void | ||
리턴 | void |
public static sanitizeOptions ( array $options ) : array | ||
$options | array | submitted options |
리턴 | array | associative array of clean options |
public static sectionHeader ( ) : void | ||
리턴 | void |
public static themeChoices ( ) : array | ||
리턴 | array | associative array of accepted values and the value's translated label |
public static warningsSectionHeader ( ) : void | ||
리턴 | void |