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
import React from "react"; | |
import BellowList from './Components/BellowList'; | |
import { | |
List, | |
Show, | |
Create, | |
Edit, | |
Datagrid, | |
SimpleForm, | |
SimpleFormIterator, |
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 | |
add_action('add_meta_boxes', function(){ | |
add_meta_box('sp_edd_fs_metabox', 'Freemius data', 'sp_edd_fs_metabox', 'download', 'side', 'default' ); | |
}); | |
function sp_edd_fs_metabox( $post ){ | |
$plugin_id = get_post_meta( $post->ID, '_sp_edd_fs_plugin_id', true ); | |
$coupon = get_post_meta( $post->ID, '_sp_edd_fs_coupon', true ); |
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
#! /bin/bash | |
# A modification of https://gist.github.com/kloon/6487562 | |
# The difference is that | |
# 1. Some error fix | |
# 2. Push only one tag | |
# 3. Does not download full repo from svn, download only trunk. | |
# main config | |
PLUGINSLUG="plugin-slug" # this should be the slug of your main wordpress plugin (folder name) | |
MAINFILE="plugin-main-file.php" # this should be the name of your main php file in the wordpress plugin |
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( 'fep_form_fields', 'fep_cus_fep_form_fields' ); | |
function fep_cus_fep_form_fields( $fields ) | |
{ | |
unset( $fields['message_title']['minlength'] ); | |
return $fields; | |
} |