This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$login_url = add_filter( 'wpto_login_url', 'smyles_custom_login_url'); | |
function smyles_custom_login_url( $login_url ){ | |
// This will append /custom-login/ to you main site URL as configured in general settings (ie https://domain.com/custom-login/) | |
$login_url = "https://wooproducttable.com/documentation/"; | |
return $login_url; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UV-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Sorting string using selection sort algorithm</title> | |
<!-- Made by Md. Ibrahim Khalil --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UV-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Sorting string using recursive sort algorithm</title> | |
<!-- Made by Md. Ibrahim Khalil --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($_SERVER["REQUEST_METHOD"] == "POST") { | |
$name = $_POST["name"]; | |
$image = $_FILES["image"]; | |
// Validate name format with regular expression | |
if (!preg_match("/^[A-Z][a-z]+\s[A-Z][a-z]+$/", $name)) { | |
die("Invalid name format"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'https_ssl_verify', '__return_true', PHP_INT_MAX ); | |
add_filter( 'http_request_args', 'codeAstrology_http_request_ssl_verify', PHP_INT_MAX ); | |
function codeAstrology_http_request_ssl_verify( $args ) { | |
$args[ 'sslverify' ] = true; | |
return $args; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function codeastrology_wpt_date_format() | |
{ | |
?> | |
<script> | |
jQuery(function($) { | |
'use strict'; | |
$(document).ready(function() { | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('wpt_design_tab_fields','wpt_custom_design_tab'); | |
function wpt_custom_design_tab( $args ){ | |
$args['body']['item'][] = [ | |
'title' => 'Table Border Width', | |
'selector' => 'tbody tr td', | |
'property' => 'border-width', | |
'type' => 'text' | |
]; | |
$args['body']['item'][] = [ | |
'title' => 'Table Border Width', |
OlderNewer