PATH:
home
/
niazsaze
/
public_html
/
wp-content
/
themes
/
flatsome
/
inc
/
builder
/
core
/
server
/
src
/
Collections
<?php namespace UxBuilder\Collections; class Templates extends Collection { public function set( $key, $value ) { $post_types = get_ux_builder_post_types(); $this->items[$key] = wp_parse_args( $value, array( 'post_types' => array_keys( $post_types ), )); } public function to_array() { $items = array(); foreach ( $this->items as $id => $data ) { $items[$id] = $data; unset( $items[$id]['content'] ); } return $items; } }
[-] Collection.php
[edit]
[-] Templates.php
[edit]
[-] Elements.php
[edit]
[-] Components.php
[edit]
[-] PostAttributesOptions.php
[edit]
[-] PostMetaOptions.php
[edit]
[+]
..