CPTP_Module_Admin::setting_no_tax_structure_callback_function PHP Метод

setting_no_tax_structure_callback_function() публичный Метод

    public function setting_no_tax_structure_callback_function()
    {
        $no_taxonomy_structure = CPTP_Util::get_no_taxonomy_structure();
        echo '<input name="no_taxonomy_structure" id="no_taxonomy_structure" type="checkbox" value="1" class="code" ' . checked(false, $no_taxonomy_structure, false) . ' /> ';
        $txt = __("If you check this, the custom taxonomy's permalinks will be <code>%s/post_type/taxonomy/term</code>.", 'custom-post-type-permalinks');
        echo sprintf(wp_kses($txt, array('code' => array())), esc_html(home_url()));
    }