/* VNL LAW FIRM - Initial Practice Areas */
add_action('admin_init', function () {

    if (get_option('vnl_practice_seeded')) {
        return;
    }

    $practice_areas = array(

        array(
            'title' => 'Civil Litigation',
            'excerpt' => 'Representation and legal assistance in civil disputes, litigation and related proceedings.',
            'content' => 'Civil litigation involves the resolution of disputes through appropriate legal proceedings, including matters relating to contracts, property, recovery, injunctions, declarations and other civil disputes, subject to applicable law and professional requirements.'
        ),

        array(
            'title' => 'Criminal Law',
            'excerpt' => 'Legal assistance and representation in criminal matters and related proceedings.',
            'content' => 'Legal assistance and representation in criminal matters, proceedings and related legal issues, subject to applicable law and professional requirements.'
        ),

        array(
            'title' => 'Corporate & Commercial Law',
            'excerpt' => 'Legal advisory and assistance for businesses, commercial transactions and corporate matters.',
            'content' => 'Legal advisory and assistance concerning corporate structures, commercial transactions, agreements, business disputes and related matters, subject to applicable law and professional requirements.'
        ),

        array(
            'title' => 'Constitutional & Administrative Law',
            'excerpt' => 'Research and legal assistance concerning constitutional and administrative matters.',
            'content' => 'Legal research, advisory and representation concerning constitutional principles, public law, administrative action and related legal proceedings, subject to applicable law and professional requirements.'
        ),

        array(
            'title' => 'Family & Matrimonial Law',
            'excerpt' => 'Legal assistance in matrimonial, family and related personal law matters.',
            'content' => 'Legal assistance concerning matrimonial disputes, family matters, maintenance, custody, succession and related personal law issues, subject to applicable law and professional requirements.'
        ),

        array(
            'title' => 'Cyber & Technology Law',
            'excerpt' => 'Legal research and assistance concerning cyber, digital and technology-related matters.',
            'content' => 'Legal research and assistance concerning cyber offences, digital evidence, technology-related disputes, data and emerging legal issues, subject to applicable law and professional requirements.'
        )

    );

    foreach ($practice_areas as $area) {

        wp_insert_post(array(
            'post_type'    => 'vnl_practice',
            'post_title'   => $area['title'],
            'post_excerpt' => $area['excerpt'],
            'post_content' => $area['content'],
            'post_status'  => 'publish'
        ));

    }

    update_option('vnl_practice_seeded', true);

});<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://vnlawfirm.co.in/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://vnlawfirm.co.in/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://vnlawfirm.co.in/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://vnlawfirm.co.in/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://vnlawfirm.co.in/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
