$post, 'meta' => $meta ); flrt_include_admin_view('filters-set', $args ); } public static function settingsMetabox( $post, $meta ){ $args = array( 'post' => $post, 'meta' => $meta ); flrt_include_admin_view('filters-set-settings', $args ); } public static function locationMetabox( $post, $meta ){ $args = array( 'post' => $post, 'meta' => $meta ); flrt_include_admin_view('filters-set-location', $args ); } public static function adviceMetabox( $post, $meta ){ $args = array( 'post' => $post, 'meta' => $meta ); flrt_include_admin_view('filters-set-advices', $args ); } public static function commonSideMetaBox( $post, $args = array() ) { global $action; $post_id = (int) $post->ID; $post_type = $post->post_type; $post_type_object = get_post_type_object( $post_type ); $can_publish = current_user_can( $post_type_object->cap->publish_posts ); $filterSet = \FilterEverything\Filter\Container::instance()->getFilterSetService(); $under_limit_filter_set = $filterSet->under_limit_filter_set($post_id); ?>
unpublished customization changes. You can edit, but there’s no need to publish now. It will be published automatically with those changes.' ), esc_url( add_query_arg( 'changeset_uuid', rawurlencode( get_post_meta( $post_id, '_customize_changeset_uuid', true ) ), admin_url( 'customize.php' ) ) ) ), array('a' => array( 'href' => true ) ) ); ?>