Archives: Snippets
Untitled Snippet
Test
var letme = 55Continue reading
WPCode
Displaying WPForms Pro on Quiz and Survey Master Results Pages
/** * WPForms QuizMaster Integration Standalone Snippet. */ add_action( ‘wpforms_loaded’, function () { if ( ! class_exists( ‘MLWQuizMasterNext’ ) ) { return; } new WPForms_QuizMaster_Integration(); } ); class WPForms_QuizMaster_Integration { /** * Constant representing the action to process a quiz.…Continue reading
Fixing WPForms Bulk Update Issues with WP Umbrella
add_action( ‘set_current_user’, ‘wpforms_fix_umbrella_get_snapshot_data’ ); /** * Executes the WPForms updater based on a specific POST request action, allowing a snapshot to be taken for WP Umbrella compatibility. */ function wpforms_fix_umbrella_get_snapshot_data() { // Check if this is a POST request with…Continue reading
Enable JSON and SVG uploads for administrator users only
/** * Enable JSON and SVG uploads for administrator users only. */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // Only allow for administrators if ( ! current_user_can( ‘administrator’ ) ) { return $upload_mimes; } // Add SVG support $upload_mimes[‘svg’]…Continue reading
Enable Secure Forex Trade Functions
function forex_custom_login_message() { return “ Welcome to Expert Forex Trade – Trade with Confidence! “; } add_filter(‘login_message’, ‘forex_custom_login_message’);Continue reading
FAQs
$faqs = [ [ ‘question’ => ‘Add your question here?’, ‘answer’ => ‘Write the answer here’ ], [ ‘question’ => ‘This is sample question’, ‘answer’ => ‘This is sample answer’ ], ]; ?>Continue reading