Skip to content
View kmjamsheed0's full-sized avatar

Block or report kmjamsheed0

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. WordPress Hook Reference WordPress Hook Reference
    1
    # WordPress Hook Execution Order
    2
    
                  
    3
    When developing WordPress plugins or themes, it's crucial to understand the order in which hooks are executed. This ensures that your code is loaded at the right time during WordPress's initialization process.
    4
    
                  
    5
    Ref Doc https://wp-kama.com/hooks/actions-order
  2. Different types of sanitization. Different types of sanitization.
    1
    sanitize_email().  //sanitize_email( string $email )
    2
                       // Strips out all characters that are not allowable in an email.
    3
    
                  
    4
    sanitize_file_name() // sanitize_file_name( string $filename )
    5
                         // Sanitizes a filename, replacing whitespace with dashes.
  3. Here are some wordpress debugging tips Here are some wordpress debugging tips
    1
    // Increase memory limit
    2
    define('WP_MEMORY_LIMIT', '256M');
    3
    
                  
    4
    // Increase PHP execution time limit
    5
    ini_set('max_execution_time', '300'); // 300 seconds
  4. Adminer - compact database managemen... Adminer - compact database management tool.
    1
    # Adminer
    2
    
                  
    3
    **Adminer** is a compact database management tool. To use it, place the `adminer.php` file in your site's directory. You can then manage the site's database by visiting the file in your browser.
    4
    
                  
    5
    ### Default Connection Details:
  5. This TinyFileManager provides full f... This TinyFileManager provides full file access to the site.
    1
    This TinyFileManager provides full file access to the site when placed in the site's directory. You can secure access with password authentication by setting a username and password within the file. For password protection,
    2
    use: 
    3
    ```php
    4
    password_hash('password', PASSWORD_DEFAULT);
    5
    
                  
  6. This is a simple SMTP plugin for bas... This is a simple SMTP plugin for basic email configurations.
    1
    # WordPress Simple SMTP Plugin
    2
    
                  
    3
    A basic SMTP plugin for WordPress to configure sending emails using SMTP. This code snippet allows you to set up your email sending configuration easily by defining constants and using the `phpmailer_init` action to modify the WordPress mail settings.
    4
    
                  
    5
    ## How It Works