Plugin Directory

Changeset 3071385

Timestamp:
04/16/2024 08:15:01 AM (3 months ago)
Author:
shahinurislam
Message:
  • WP version update.
  • Bug Fixed 2024
Location:
download-pdf-after-submit-form
Files:
19 added
6 edited

Legend:

Unmodified
Added
Removed
  • download-pdf-after-submit-form/trunk/css/admin.css

    r2949510 r3071385  
    451451}
    452452.upgratetopro {
    453     background-color: #00a32a !important;
     453    background-color: # !important;
    454454    color: #fff;
    455455    border-radius: 3px;
  • download-pdf-after-submit-form/trunk/include/posttype.php

    r2949510 r3071385  
    2525  'publicly_queryable' => false,
    2626  'show_ui'            => true,
    27   'show_in_menu'       => true,
     27  'show_in_menu'       => e,
    2828  'query_var'          => true,
    2929  'rewrite'            => array( 'slug' => 'infomat' ),
     
    8282}
    8383add_filter('gettext', 'dpbsf_change_edit_text_to_view', 10, 3);
     84
     85
     86
     87
     88
     89
     90
     91
    8492?>
  • download-pdf-after-submit-form/trunk/index.php

    r2993941 r3071385  
    66 * Author: Md. Shahinur Islam
    77 * Author URI: https://profiles.wordpress.org/shahinurislam
    8  * Version: 2.2.2
     8 * Version: 2.2.
    99 * Text Domain: dpbsf
    1010 * Domain Path: /lang
     
    8585            $emailTo = get_option('admin_email');
    8686        }
     87
    8788        $donloadurl = sanitize_url(trim($_POST['urlnameinput'])); //get input url
    8889        $subject = '[PHP Snippets] From '.$name;
     
    9798} ?>
    9899 <!-- Trigger/Open The Modal <button id="myBtn">Download</button>-->
    99  <?php
     100 <?php
    100101 //session validation
    101  if($_SESSION['arrayImg'] == "shahin"){  ?>
     102 if( == "shahin"){  ?>
    102103    <style>
    103104    /*display none when session true*/
     
    130131      })
    131132   });
    132    </script>   
     133   </script>
     134   <?php $echos = "myModal".esc_html($atts['title']);?>     
    133135<?php }else{  ?>
    134136    <!-- session validation failed to start modal-->
     
    183185                    // Create post object to save data
    184186                    $my_post = array(
    185                         'post_title'    => wp_strip_all_tags( $dpbsf_name_title.$name ),
     187                        'post_title'    => wp_strip_all_tags( $name ),
    186188                        'post_content'  => $body,
    187189                        'post_status'   => 'draft',
     
    300302add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'dpbsf_plugin_action_links' );
    301303function dpbsf_plugin_action_links( $actions ) {
    302    $actions[] = '<a href="'. esc_url( get_admin_url(null, 'edit.php?post_type=infomat&page=settings') ) .'">Settings</a>';
     304   $actions[] = '<a href="'. esc_url( get_admin_url(null, 'edit.php?post_type=infomat&page=settings') ) .'">Settings</a>';
    303305   $actions[] = '<a href="http://plugins.nasheed.xyz/" class="get_dpasf_pro" target="_blank">Get WP DPASF Pro</a>';
    304306   return $actions;
     
    306308add_action('admin_menu', 'dpbsf_register_my_custom_submenu_page');
    307309function dpbsf_register_my_custom_submenu_page() {
    308     add_submenu_page(
    309         'edit.php?post_type=infomat',
    310         'Settings',
    311         'Settings',
    312         'manage_options',
    313         'settings',
    314         'dpbsf_my_custom_submenu_page_callback' );
     310
     311        add_menu_page( 
     312            'Settings',
     313            'Download PDF After Submit F.',
     314            'read',
     315            'dpbsf_settings',
     316            'dpbsf_my_custom_submenu_page_callback',
     317            'dashicons-format-aside'   
     318        );
     319            add_submenu_page(
     320            'dpbsf_settings',
     321            'View Entries',
     322            'View Entries',
     323            'manage_options',
     324            'edit.php?post_type=infomat'   
     325            );
    315326}
    316327function dpbsf_my_custom_submenu_page_callback() {
     
    393404    <button class="button-85" role="button" type="submit">Save Settings</button>
    394405    <input type="hidden" name="action" value="update" />
    395     <input type="hidden" name="page_options" value="formstyle, dpbsf_title, dpbsf_subtitle, dpbsf_name,  dpbsf_email,  dpbsf_phone, dpbsf_address, dpbsf_job_title, dpbsf_company, dpbsf_more_1, dpbsf_country, dpbsf_message, dpbsf_check, dpbsf_check_text, dpbsf_submit_button" />
     406    <input type="hidden" name="page_options" value="formstyle" />
    396407</form>
    397408<?php
  • download-pdf-after-submit-form/trunk/license.txt

    r2853025 r3071385  
    1 Download PDF After Submit Form WordPress Plugin, 2023 Md Shahinur Islam
     1Download PDF After Submit Form WordPress Plugin, 202 Md Shahinur Islam
    22Download PDF After Submit Form is distributed under the terms of the GNU GPL
    33
  • download-pdf-after-submit-form/trunk/readme.md

    r2993941 r3071385  
    44Donate link: https://forms.gle/EAtaCDDDxhcU5fva7
    55Requires at least: 5.8
    6 Tested up to: 6.4.1
    7 Stable tag: 2.2.2
     6Tested up to: 6.
     7Stable tag: 2.2.
    88Requires PHP: 7.4
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine – no programming knowledge required.
     12Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine no programming knowledge required.
    1313
    1414== Description ==
    1515
    16 Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine – no programming knowledge required. This plugin offers the premium feature of ready popup design & provides quick access to beautiful all fields that can be edit in your popup easily.
     16Download any pdf after submit form shortcode for WordPress. Take full control over your WordPress site, build any shortcode paste you can imagine no programming knowledge required. This plugin offers the premium feature of ready popup design & provides quick access to beautiful all fields that can be edit in your popup easily.
    1717
    18 ðŸ‘‰ Official Demo Link: [Download any pdf after submit form](http://plugins.nasheed.xyz/28-2/)
    19 ðŸ‘‰ Buy Pro Version: [DPASF Pro](http://plugins.nasheed.xyz/product/download-pdf-after-submit-form-pro/)
    20 ðŸ‘‰ Video Guide: [Youtube Video](https://youtu.be/G-FYx8vDnDY)
    21 ðŸ‘‰ Installation Guide: [Documentation](https://plugins.nasheed.xyz/documentation/)
     18 Official Demo Link: [Download any pdf after submit form](http://plugins.nasheed.xyz/28-2/)
     19 Buy Pro Version: [DPASF Pro](http://plugins.nasheed.xyz/product/download-pdf-after-submit-form-pro/)
     20 Video Guide: [Youtube Video](https://youtu.be/G-FYx8vDnDY)
     21 Installation Guide: [Documentation](https://plugins.nasheed.xyz/documentation/)
    2222
    2323= DPASF Free Version =
     
    121121== Upgrade Notice ==
    122122
    123 This is new version 2.2.2
     123This is new version 2.2.
    124124This is an important & critical release. Please make sure you BACKUP your website before updating. You need to update the plugin to get next-level updates & features of DPASF.   
    125125
     
    137137
    138138== Changelog ==
     139
     140
     141
     142
     143
    139144
    140145= 2.2.2 =
  • download-pdf-after-submit-form/trunk/readme.txt

    r2993941 r3071385  
    44Donate link: https://forms.gle/EAtaCDDDxhcU5fva7
    55Requires at least: 5.8
    6 Tested up to: 6.4.1
    7 Stable tag: 2.2.2
     6Tested up to: 6.
     7Stable tag: 2.2.
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    121121== Upgrade Notice ==
    122122
    123 This is new version 2.2.2
     123This is new version 2.2.
    124124This is an important & critical release. Please make sure you BACKUP your website before updating. You need to update the plugin to get next-level updates & features of DPASF.   
    125125
     
    137137
    138138== Changelog ==
     139
     140
     141
     142
     143
    139144
    140145= 2.2.2 =
Note: See TracChangeset for help on using the changeset viewer.