Search results for: admin

trigger monsterlink of an external link

jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; // When…

allow editors

add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_pages'; } );

allow authors

add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'publish_posts'; } );

allow contributors

add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_posts'; } );

修改WP Memory等參數

// 設定 WordPress 記憶體限制 define('WP_MEMORY_LIMIT', '256M'); define('WP_MAX_MEMORY_LIMIT', '512M'); // 設定 PHP 執行層的上傳限制 @ini_set('upload_max_filesize', '64M'); @ini_set('post_max_size', '64M');…

Redirect from Array

Setup redirect for multiple pages.

<10

WPForms: add field description in notification HTML and plain text emails

With this snippet, you can add a field description in notification emails that are sent to…

1 111 112 113