<?php
// Prevent direct access
if (!defined('ABSPATH')) exit;

// Function to retrieve company details dynamically
function get_company_name()
{
  return get_option('company_name', 'Default Company Name');
}

function get_company_phone()
{
  return get_option('company_phone', 'Default Phone Number');
}

function get_company_fax()
{
  return get_option('company_fax', 'Default Fax Number');
}

function get_company_email()
{
  return get_option('company_email', 'default@example.com');
}

function get_company_location()
{
  return get_option('company_location', 'Default Location');
}

// Function to get the header logo
function get_company_header_logo()
{
  return get_option('company_header_logo', get_template_directory_uri() . '/assets/images/default-header-logo.png');
}

// Function to get the footer logo
function get_company_footer_logo()
{
  return get_option('company_footer_logo', get_template_directory_uri() . '/assets/images/default-footer-logo.png');
}

// Function to get the short note about the company
function get_company_short_note()
{
  return get_option('company_short_note', 'Default short note about the company.');
}
