HEX
Server: Apache/2
System: Linux sm.stlbg.net 3.10.0-962.3.2.lve1.5.87.el7.x86_64 #1 SMP Tue Jan 28 09:38:56 UTC 2025 x86_64
User: todorterziev (1053)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/todorterziev/public_html/wp-content/themes/prysm/lib/pricing-meta.php
<?php
// Control core classes for avoid errors
if( class_exists( 'CSF' ) ) {

  //
  // Set a unique slug-like ID
  $prefix = 'prysm_pricepost';

  //
  // Create a metabox
  CSF::createMetabox( $prefix, array(
    'title'     => 'Pricing Options',
    'post_type' => 'pricing_table',
  ) );

	// Create a section
  CSF::createSection( $prefix, array(
    'title'  => 'Pricing Info',
    'fields' => array(

      //
     
       array(
        'id'    => 'monthly_price',
        'type'  => 'text',
        'title' => 'Monthly Price',
      ),
       array(
        'id'    => 'yearly_price',
        'type'  => 'text',
        'title' => 'Yearly Price',
      ),
       array(
        'id'    => 'profesonal_price',
        'type'  => 'text',
        'title' => 'Profesonal Price',
      ),
		array(
        'id'    => 'price_symble',
        'type'  => 'text',
        'title' => 'Pricing Symble',
    ),
		array(
        'id'    => 'month_preod',
        'type'  => 'text',
        'title' => 'Monthly Preod',
    ),
		array(
        'id'    => 'yr_preod',
        'type'  => 'text',
        'title' => 'Yearly Preod',
    ),
		array(
        'id'    => 'bill_text',
        'type'  => 'text',
        'title' => 'Billed Preod Text',
    ),
		array(
        'id'    => 'taxes_text',
        'type'  => 'text',
        'title' => 'Taxes Text',
    ),
		array(
        'id'    => 'notice_text',
        'type'  => 'text',
        'title' => 'Notice Text',
    ),
      array(
        'id'        => 'pricing_lists',
        'type'      => 'repeater',
        'title'     => 'Pricing Lists',
        'fields'    => array(
          array(
            'id'    => 'pricing_item',
            'type'  => 'textarea',
            'title' => 'List item Add Here',
          ),

        ),
      ),
		
		array(
        'id'    => 'pricing_button',
        'type'  => 'text',
        'title' => 'Pricing Button Text',
		 'default' => 'Get Started'
      ),

		array(
        'id'    => 'pricing_link',
        'type'  => 'link',
        'title' => 'Pricing Button Link',
      ),

      array(
        'id'    => 'pricing_shape_img',
        'title' => 'Shape Image',
          'type'  => 'media',
          'library' => 'image',
      ),
      array(
        'id'    => 'pricing_shape2_img',
        'title' => 'Shape Image 2',
          'type'  => 'media',
          'library' => 'image',
      ),

    )
  ) );



}