Property | Type | Description | |
---|---|---|---|
$admin | PodsAdmin | ||
$components | PodsComponents | ||
$content_types_registered | array | ||
$db_version | mixed | void | ||
$instance | PodsInit | ||
$meta | PodsMeta | ||
$no_conflict | array | ||
$upgrade_needed | boolean | Whether an Upgrade is needed | |
$upgraded | boolean | Whether an Upgrade for 1.x has happened | |
$upgrades | array | Upgrades to trigger (last installed version => upgrade version) | |
$version | mixed | void | ||
$version_last | mixed | void |
Method | Description | |
---|---|---|
__construct ( ) : PodsInit | Setup and Initiate Pods | |
activate ( ) | ||
activate_install ( ) | Activate and Install | |
add_rest_support ( ) | Add REST API support to post type and taxonomy objects. | |
admin_bar_links ( ) | Add Admin Bar links | |
admin_init ( ) | Include Admin | |
core ( ) | Set up the Pods core | |
deactivate ( ) | ||
delete_attachment ( integer $_ID ) | Delete Attachments from relationships | |
flush_rewrite_rules ( ) | Check if we need to flush WordPress rewrite rules This gets run during 'init' action late in the game to give other plugins time to register their rewrite rules | |
init ( ) : PodsInit | Singleton handling for a basic pods_init() request | |
load_components ( ) | Load Pods Components | |
load_meta ( ) | Load Pods Meta | |
needs_upgrade ( $current = null, $last = null ) | ||
new_blog ( $_blog_id, $user_id, $domain, $path, $site_id, $meta ) | ||
object_label_fix ( $args, string $type = 'post_type' ) : array | ||
plugins_loaded ( ) | Load the plugin textdomain and set default constants | |
register_assets ( ) | Register Scripts and Styles | |
register_pods ( ) | Register internal Post Types | |
register_widgets ( ) | Register widgets for Pods | |
reset ( null $_blog_id = null ) | ||
run ( ) | ||
setup ( null $_blog_id = null ) | ||
setup_content_types ( $force = false ) | Register Post Types and Taxonomies | |
setup_updated_messages ( array $messages ) : array | Update Post Type messages |
public __construct ( ) : PodsInit | ||
return | PodsInit |
public add_rest_support ( ) |
public delete_attachment ( integer $_ID ) | ||
$_ID | integer |
public flush_rewrite_rules ( ) |
public static init ( ) : PodsInit | ||
return | PodsInit |
public new_blog ( $_blog_id, $user_id, $domain, $path, $site_id, $meta ) | ||
$_blog_id | ||
$user_id | ||
$domain | ||
$path | ||
$site_id | ||
$meta |
public static object_label_fix ( $args, string $type = 'post_type' ) : array | ||
$args | ||
$type | string | |
return | array |
public plugins_loaded ( ) |
public setup_content_types ( $force = false ) |
public setup_updated_messages ( array $messages ) : array | ||
$messages | array | |
return | array |
static public PodsComponents $components | ||
return | PodsComponents |
static public array $content_types_registered | ||
return | array |
static public bool $upgrade_needed | ||
return | boolean |
static public bool $upgraded | ||
return | boolean |
static public array $upgrades | ||
return | array |