Sindbad~EG File Manager

Current Path : /www/wwwroot/33win.is/wp-content/themes/flatsome/inc/builder/core/server/helpers/
Upload File :
Current File : /www/wwwroot/33win.is/wp-content/themes/flatsome/inc/builder/core/server/helpers/posts.php

<?php

$GLOBALS['_ux_builder_post_types'] = array();

/**
 * @param string $type
 */
function add_ux_builder_post_type( $type ) {
  $GLOBALS['_ux_builder_post_types'][$type] = true;
}

/**
 * @param string $type
 */
function remove_ux_builder_post_type( $type ) {
  if ( isset( $GLOBALS['_ux_builder_post_types'][$type] ) ) {
    unset( $GLOBALS['_ux_builder_post_types'][$type] );
  }
}

/**
 *
 */
function get_ux_builder_post_types() {
  return $GLOBALS['_ux_builder_post_types'];
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists