This file contains hidden or 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 | |
/** | |
* Plugin Name: [Forminator] - Custom Post Data Field Type | |
* Description: [Forminator] - Custom Post Data Field Type - change content field type from wp-editor to textarea and add support advanced custom field (text, url, number, email type). | |
* Author: Thobk @ WPMUDEV | |
* Author URI: https://premium.wpmudev.org | |
* License: GPLv2 or later | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { | |
exit; |
This file contains hidden or 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('mime_types', 'my_mimes'); | |
function my_mimes($all) | |
{ | |
// I cannot have both because wordpress doesn't allow it but i need both because each file can be one of these mime types | |
// $all['eps'] = 'application/postscript'; | |
$all['eps'] = 'image/x-eps'; | |
return $all; | |
} |
This file contains hidden or 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
patbenatar.advanced-new-file | |
formulahendry.auto-close-tag | |
formulahendry.auto-rename-tag | |
fosshaas.fontsize-shortcuts | |
BriteSnow.vscode-toggle-quotes | |
Zignd.html-css-class-completion | |
christian-kohler.npm-intellisense | |
christian-kohler.path-intellisense | |
octref.vetur | |
dbaeumer.vscode-eslint |
This file contains hidden or 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 | |
use Illuminate\Support\Facades\Schema; | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class AddRenewsAtColumnToSubscriptions extends Migration | |
{ | |
/** | |
* Run the migrations. |
OlderNewer