PATH:
home
/
thebhoeo
/
.trash
/
coming-soon
/
app
<?php /** * Reguster seedprod custom post type. * * @return void */ function seedprod_lite_post_type() { // Enable UI for converted pages. // but hide from admin menu. $show_ui = false; $show_in_menu = false; $args = array( 'supports' => array( 'title', 'editor', 'revisions' ), 'public' => false, 'capability_type' => 'page', 'show_ui' => $show_ui, 'show_in_menu' => $show_in_menu, // Hide from admin menu 'show_in_rest' => $show_ui, // Enable Gutenberg editor 'publicly_queryable' => true, 'can_export' => false, ); register_post_type( 'seedprod', $args ); } $sedprod_pt = post_type_exists( 'seedprod' ); if ( false === $sedprod_pt ) { add_action( 'init', 'seedprod_lite_post_type', 0 ); } /** * Add custom rewrite rules for special SeedProd pages */ function seedprod_lite_custom_rewrite_rules() { // Add rewrite rule for login page. add_rewrite_rule( '^sp-login/?$', 'index.php?post_type=seedprod&name=sp-login', 'top' ); } add_action( 'init', 'seedprod_lite_custom_rewrite_rules' );
[-] functions-inline-help.php
[edit]
[-] theme-templates.php
[edit]
[-] render-dynamic-tags.php
[edit]
[-] functions-openai.php
[edit]
[-] nestednavmenu.php
[edit]
[-] load_controller.php
[edit]
[-] functions-addons.php
[edit]
[-] license.php
[edit]
[+]
backwards
[-] routes.php
[edit]
[-] render-csp-mm.php
[edit]
[-] functions-utils.php
[edit]
[-] functions-envira-gallaries.php
[edit]
[-] setup-wizard.php
[edit]
[-] import-cross-site-functions.php
[edit]
[-] render-lp.php
[edit]
[-] lpage.php
[edit]
[-] functions-mypaykit.php
[edit]
[+]
..
[-] functions-rafflepress.php
[edit]
[-] bootstrap.php
[edit]
[-] class-seedprod-notifications.php
[edit]
[+]
includes
[-] functions-wpforms.php
[edit]
[-] settings.php
[edit]
[-] functions-seedprod-gallery.php
[edit]
[-] subscriber.php
[edit]
[-] cpt.php
[edit]