UIX Documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • None
  • uix
    • data
    • ui
      • control

Classes

  • box
  • control
  • footer
  • grid
  • header
  • help
  • metabox
  • modal
  • notice
  • page
  • panel
  • post_type
  • repeat
  • section
  • uix

Class post_type

UIX Post Type class for adding custom post types

uix\ui\uix
Extended by uix\ui\post_type
Namespace: uix\ui
Package: uix\ui
Author: David Cramer
Located at classes/uix/ui/post_type.php

Methods summary

protected
# actions( )

setup actions and hooks to register post types

setup actions and hooks to register post types

Since

1.0.0

Overrides

uix\ui\uix::actions
protected
# enqueue_active_assets( )

Render the custom header styles

Render the custom header styles

Since

1.0.0

Overrides

uix\ui\uix::enqueue_active_assets
public
# set_assets( )

Define core UIX styling to identify UIX post types

Define core UIX styling to identify UIX post types

Since

1.0.0

Overrides

uix\ui\uix::set_assets
public string
# render( )

Render (register) the post type

Render (register) the post type

Returns

string
HTML of rendered object

Since

1.0.0
public
# is_active( )

Determin which post types are active and set them active and render some styling Intended to be ovveridden

Determin which post types are active and set them active and render some styling Intended to be ovveridden

Since

1.0.0

Overrides

uix\ui\uix::is_active

Methods inherited from uix\ui\uix

__call(), __construct(), base_color(), build_attributes(), enqueue_core(), id(), init(), process_child(), process_children(), register(), render_children(), set_attributes(), set_url(), setup()

Properties summary

public string $type

The type of object

The type of object

Since

1.0.0
# 'post'

Properties inherited from uix\ui\uix

$assets, $attributes, $child, $parent, $scripts, $slug, $struct, $styles, $url

UIX Documentation API documentation generated by ApiGen