Plugin Directory

Changeset 3091863


Ignore:
Timestamp:
05/24/2024 05:27:35 AM (20 months ago)
Author:
susheelhbti
Message:

installation process set

Location:
saksh-wp-hotel-booking-lite/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • saksh-wp-hotel-booking-lite/trunk/readme.txt

    r3091849 r3091863  
    3838You can start rooms selling from your site and monetize your website.
    3939
    40 == Installation ==
    41 
    42 Step 1 Visit /wp-admin/post-new.php?post_type=sakshdesigns and create two new pages
    43 
    44 Step 2
    45 
     40 
    4641
    4742== Installation ==
  • saksh-wp-hotel-booking-lite/trunk/saksh_admin/saksh_booking_report.php

    r3091847 r3091863  
    7171 function saksh_hb_support()
    7272 {
    73     // echo "saksh_booking_dashboard";
     73   
    7474    global $wpdb;
    75    
    76     if (in_array(    $wpdb->prefix . "bookings" , $wpdb->tables)) {
    77   // do something if wp_snippets exists
    78 
     75 
     76   
     77   
    7978    saksh_hb_plugin_table_install();
    80 
    81 
    82 }
    83 
    84 
    85 
     79 
     80 
     81 
    8682    echo "For support whatsapp +91 8840574997";
    8783   
    8884   
    8985   
    90  }function saksh_booking_dashboard()
     86 }
     87 
     88 
     89 function saksh_booking_dashboard()
    9190 {
    9291    // echo "saksh_booking_dashboard";
  • saksh-wp-hotel-booking-lite/trunk/saksh_installation.php

    r3091847 r3091863  
    1313
    1414 
    15 
    16 
    17   //saksh_capture_log( __LINE__ ,   "tSTSSSSSSSS"  );
     15 
    1816
    1917    $saksh_hb_table_system = "CREATE TABLE   IF NOT EXISTS  " . $wpdb->prefix . "bookings  (
     
    4543
    4644    dbDelta($saksh_hb_table_system);
    47  //echo $saksh_hb_table_system;
    4845 
    49 
     46 var_dump( get_option( 'saksh_booking_theme_v1' ));
     47    if (  !get_option( 'saksh_booking_theme_v1' )  =="1" ) {
     48       
     49       
     50        var_dump( get_option( 'saksh_booking_theme_v1' ));
     51       
     52       
    5053$content ='
    5154<!-- wp:table -->
     
    6871
    6972
    70 
    71 //  saksh_capture_log( __LINE__ ,  $content  );
    72 
     73 
    7374
    7475
     
    131132wp_insert_post( $my_post );
    132133
     134    update_option( 'saksh_booking_theme_v1', true );
     135}
    133136 
    134137 
Note: See TracChangeset for help on using the changeset viewer.