Method | Description | |
---|---|---|
__construct ( ) | Register hooks. | |
fix_page_template ( WP_Post $post ) | WordPress will prevent post data saving if a page template has been selected that does not exist This is especially a problem when switching to our theme, and old page templates are in the post data Unset the page template if the page does not exist to allow the post to save | |
get_fields ( ) : array | Get all registered fields. | |
get_meta_boxes ( ) | Get registered meta boxes via a filter. | |
load_textdomain ( ) | Load plugin translation. | |
plugin_links ( array $links ) : array | Add links to Documentation and Extensions in plugin's list of action links. | |
register_meta_boxes ( ) | Register meta boxes. | |
register_wpml_hooks ( ) | Register wpml compatibility hooks |
public fix_page_template ( WP_Post $post ) | ||
$post | WP_Post |
public static get_fields ( ) : array | ||
return | array |
public static get_meta_boxes ( ) |
public plugin_links ( array $links ) : array | ||
$links | array | Array of action links |
return | array |
public register_meta_boxes ( ) |
public register_wpml_hooks ( ) |