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 | |
/** | |
* Plugin Name: Brozzme SQUEEZE Atts | |
* Plugin URL: http://brozzme.com/squeeze-atts/ | |
* Description: Remove post and its attachments | |
* Version: 0.1 | |
* Author: Benoît Faure | |
* Author URI: http://brozzme.com | |
*/ |
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
$brp_clt_ads ='customer_ads'; //id du custom post | |
global $brp_clt_ads; | |
add_action('init', 'customer_ads_init'); | |
function customer_ads_init() | |
{ | |
global $brp_clt_ads; | |
$labels_settings = array( | |
'name' => 'Annonces', | |
'singular_name' => 'Annonce', |
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
$fcpt_posttype = 'submissions'; | |
global $fcpt_posttype; | |
global $myCustomTypeOptions; | |
// Register Custom Post Type submissions | |
function brozzme_fcpt_submission_post_type() { | |
global $fcpt_posttype; |
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 | |
$array = array( | |
'version' => '2.0.0', | |
'prefix' => 'hvr-', | |
'hoverclass' => array ( | |
'transition' => array( | |
'grow' => 'Grow', 'shrink' => 'Shrink', 'pulse' => 'Pulse', 'pulse-grow' => 'Pulse grow', 'pulse-shrink' => 'Pulse Shrink', 'push' => 'Push', 'pop' => 'Pop', 'bounce-in' => 'Bounce in', | |
'bounce-out' => 'Bounce out', 'rotate' => 'Rotate', 'grow-rotate' => 'Grow rotate', 'float' => 'Float', 'sink' => 'Sink', 'bob' => 'Bob', 'bob-float' => 'Bob float', 'hang' => 'Hang', | |
'hang-sink' => 'Hang sink', 'skew' => 'Skew', 'skew-forward' => 'Skew forward', 'skew-backward' => 'Skew backward', 'wobble-vertical' => 'Wobble vertical', 'wobble-horizontal' => 'Wobble horizontal', |
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 | |
/** | |
* Created by PhpStorm. | |
* User: Benoti | |
* Date: 29/03/15 | |
* Time: 13:00 | |
* | |
*/ | |