Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Ajuster la taille par défaut pour le contenu intégré

<?php
function wps_embed_size($embed_size){
    if(is_single()){
        $embed_size['height'] = 240;
        $embed_size['width']  = 380;
    }
    return $embed_size;
}  
add_filter('embed_defaults', 'wps_embed_size');
?>
Comment

PREVIOUS NEXT
Code Example
Php :: how to generate unique alphanumeric 6 digit code through php myadmin 
Php :: Handling Email Verification Error for APIs 
Php :: PHP ord — Convert the first byte of a string to a value between 0 and 255 
Php :: php echo to stderr 
Php :: oder system make in laravel 
Php :: php pdo random multiple insert query 
Php :: PHP Create Swiss QR-Bill API 
Php :: can we generate alphanumeric 6 digit primary key in phpmyadmin 
Php :: how to rrestart brew php 
Php :: warning: parameter 2 to search_by_title() expected to be a reference, value given in 
Php :: send notification php to PC 
Php :: php version 5.6 
Php :: upload image to backend (see rest of the link) 
Php :: examples of invalid php variables 
Php :: php usort two columns 
Php :: yii relations 
Php :: wordpress code 
Php :: laravel left join count 
Php :: old codestar gallery 
Php :: wp+get author box in dashboard 
Php :: wp clean db terms 
Php :: get data from model in chunks laravel 
Php :: config in php 
Php :: date format in php 
Php :: laravel gigapay delete employee 
Php :: remove public from laravel 8 
Php :: automatice prevent default the form in php 
Php :: xampp pdoexception could not find driver 
Php :: remove ul container from wp_nav_menu 
Php :: How to programmatically grab the product description in WooCommerce? 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =