/** * Returns defined post layout for curent post * * @since 2.0.0 */ function wpex_get_post_layout() { // Get global object $obj = wpex_global_obj(); // Return post layout if defined if (!empty($obj->post_layout)) { return $obj->post_layout; } else { return wpex_post_layout(); } }
function wpex_get_post_layout_class() { return wpex_post_layout(); }