← Back
Editing: index.js
!function(e){var o={};function r(t){if(o[t])return o[t].exports;var s=o[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=e,r.c=o,r.d=function(e,o,t){r.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:t})},r.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(o,"a",o),o},r.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},r.p="",r(r.s=286)}({286:function(e,o,r){"use strict";r(287),r(288),r(289),r(290),r(291),r(292),r(293),r(294),r(295),r(296),r(297),r(298),r(299),r(300),r(301),r(302),r(303),r(304),r(305),r(306),r(307),r(308),r(309),r(310),r(311),r(312),r(313),r(314),r(315),r(316),r(317),r(318);var t=BBLogic.api.addRuleTypeCategory,s=BBLogic.i18n.__;t("post",{label:s("Post")}),t("archive",{label:s("Archive")}),t("author",{label:s("Author")}),t("user",{label:s("User")}),t("conditional-tag",{label:s("WordPress Conditionals")})},287:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getPermalinks;s("wordpress/post",{label:(0,BBLogic.i18n.__)("Post"),category:"post",form:function(e){var o=e.rule.posttype,r=a();return{operator:{type:"operator",operators:["equals","does_not_equal"]},posttype:{type:"select",route:"bb-logic/v1/wordpress/post-types"},post:{type:"select",route:o?"bb-logic/v1/wordpress/posts"+r+"post_type="+o:null,visible:o}}}})},288:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getPermalinks;s("wordpress/post-parent",{label:(0,BBLogic.i18n.__)("Post Parent"),category:"post",form:function(e){var o=e.rule.posttype,r=a();return{operator:{type:"operator",operators:["equals","does_not_equal"]},posttype:{type:"select",route:"bb-logic/v1/wordpress/post-types"+r+"hierarchical=1"},post:{type:"select",route:o?"bb-logic/v1/wordpress/posts"+r+"post_type="+o:null,visible:o}}}})},289:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/post-type",{label:(0,BBLogic.i18n.__)("Post Type"),category:"post",form:function(e){e.rule.taxonomy;return{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",route:"bb-logic/v1/wordpress/post-types"}}}})},290:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/post-title",{label:(0,BBLogic.i18n.__)("Post Title"),category:"post",form:a("string")})},291:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/post-excerpt",{label:(0,BBLogic.i18n.__)("Post Excerpt"),category:"post",form:a("string")})},292:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/post-content",{label:(0,BBLogic.i18n.__)("Post Content"),category:"post",form:a("string")})},293:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/post-featured-image",{label:(0,BBLogic.i18n.__)("Post Featured Image"),category:"post",form:{operator:{type:"operator",operators:["is_set","is_not_set"]}}})},294:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/post-comments-number",{label:(0,BBLogic.i18n.__)("Post Comments Number"),category:"post",form:a("number")})},295:function(e,o,r){"use strict";var t=BBLogic.api.addRuleType,s=BBLogic.i18n.__;t("wordpress/post-comments-status",{label:s("Post Comments Status"),category:"post",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",options:[{label:s("Open"),value:!0},{label:s("Closed"),value:!1}]}}})},296:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/post-template",{label:(0,BBLogic.i18n.__)("Post Template"),category:"post",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",route:"bb-logic/v1/wordpress/post-templates"}}})},297:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getPermalinks;s("wordpress/post-term",{label:(0,BBLogic.i18n.__)("Post Taxonomy Term"),category:"post",form:function(e){var o=e.rule.taxonomy,r=a();return{operator:{type:"operator",operators:["equals","does_not_equal"]},taxonomy:{type:"select",route:"bb-logic/v1/wordpress/taxonomies"},term:{type:"select",route:o?"bb-logic/v1/wordpress/terms"+r+"taxonomy="+o:null,visible:o}}}})},298:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/post-status",{label:(0,BBLogic.i18n.__)("Post Status"),category:"post",form:function(e){e.rule.taxonomy;return{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",route:"bb-logic/v1/wordpress/post-stati"}}}})},299:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/post-meta",{label:(0,BBLogic.i18n.__)("Post Custom Field"),category:"post",form:a("key-value")})},300:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/archive",{label:(0,BBLogic.i18n.__)("Archive"),category:"archive",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},archive:{type:"select",route:"bb-logic/v1/wordpress/archives"}}})},301:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/archive-title",{label:(0,BBLogic.i18n.__)("Archive Title"),category:"archive",form:a("string")})},302:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/archive-description",{label:(0,BBLogic.i18n.__)("Archive Description"),category:"archive",form:a("string")})},303:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getPermalinks;s("wordpress/archive-term",{label:(0,BBLogic.i18n.__)("Archive Taxonomy Term"),category:"archive",form:function(e){var o=e.rule.taxonomy,r=a();return{operator:{type:"operator",operators:["equals","does_not_equal"]},taxonomy:{type:"select",route:"bb-logic/v1/wordpress/taxonomies"},term:{type:"select",route:o?"bb-logic/v1/wordpress/terms"+r+"taxonomy="+o:null,visible:o}}}})},304:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/archive-term-meta",{label:(0,BBLogic.i18n.__)("Archive Term Meta"),category:"archive",form:a("key-value")})},305:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getPermalinks,i=BBLogic.i18n.__,p=a();s("wordpress/author",{label:i("Author"),category:"author",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"suggest",placeholder:i("Username"),route:"bb-logic/v1/wordpress/users"+p+"suggest={search}"}}})},306:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/author-bio",{label:(0,BBLogic.i18n.__)("Author Bio"),category:"author",form:a("string")})},307:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/author-meta",{label:(0,BBLogic.i18n.__)("Author Meta"),category:"author",form:a("key-value")})},308:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/author-role",{label:(0,BBLogic.i18n.__)("Author Role"),category:"author",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",route:"bb-logic/v1/wordpress/roles"}}})},309:function(e,o,r){"use strict";var t=BBLogic.api.addRuleType,s=BBLogic.i18n.__;t("wordpress/author-login-status",{label:s("Author Login Status"),category:"author",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",options:[{label:s("Logged In"),value:"logged_in"},{label:s("Logged Out"),value:"logged_out"}]}}})},310:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getPermalinks,i=BBLogic.i18n.__,p=a();s("wordpress/user",{label:i("User"),category:"user",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"suggest",placeholder:i("Username"),route:"bb-logic/v1/wordpress/users"+p+"suggest={search}"}}})},311:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/user-bio",{label:(0,BBLogic.i18n.__)("User Bio"),category:"user",form:a("string")})},312:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/user-meta",{label:(0,BBLogic.i18n.__)("User Meta"),category:"user",form:a("key-value")})},313:function(e,o,r){"use strict";var t=BBLogic.api.addRuleType,s=BBLogic.i18n.__;t("wordpress/user-login-status",{label:s("User Login Status"),category:"user",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",options:[{label:s("Logged In"),value:"logged_in"},{label:s("Logged Out"),value:"logged_out"}]}}})},314:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/user-role",{label:(0,BBLogic.i18n.__)("User Role"),category:"user",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",route:"bb-logic/v1/wordpress/roles"}}})},315:function(e,o,r){"use strict";(0,BBLogic.api.addRuleType)("wordpress/user-capability",{label:(0,BBLogic.i18n.__)("User Capability"),category:"user",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",route:"bb-logic/v1/wordpress/capabilities"}}})},316:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/user-registered",{label:(0,BBLogic.i18n.__)("User Registered"),category:"user",form:a("date")})},317:function(e,o,r){"use strict";var t=BBLogic.api.addRuleType,s=BBLogic.i18n.__;t("wordpress/conditional-tag",{label:s("Conditional Tag"),category:"conditional-tag",form:{operator:{type:"operator",operators:["equals","does_not_equal"]},compare:{type:"select",options:[{label:s("404"),value:"is_404"},{label:s("Home"),value:"is_home"},{label:s("Front Page"),value:"is_front_page"},{label:s("Taxonomy Archive"),value:"is_tax"},{label:s("Search Results"),value:"is_search"}]}}})},318:function(e,o,r){"use strict";var t=BBLogic.api,s=t.addRuleType,a=t.getFormPreset;s("wordpress/shortcode",{label:(0,BBLogic.i18n.__)("Shortcode Result"),category:"conditional-tag",form:a("shortcode")})}});
Save File
Cancel