geodirectory_template_actions.php 1 location
|
@@ 1006-1008 (lines=3) @@
|
| 1003 |
|
|
| 1004 |
|
$package_info = geodir_post_package_info(array(), $post, (!empty($post->post_type) ? $post->post_type : ''));
|
| 1005 |
|
$image_limit = '';
|
| 1006 |
|
if (defined('GEODIRPAYMENT_VERSION') && !empty($package_info) && isset($package_info->image_limit) && $package_info->image_limit !== '') {
|
| 1007 |
|
$image_limit = (int)$package_info->image_limit;
|
| 1008 |
|
}
|
| 1009 |
|
|
| 1010 |
|
if ($preview) {
|
| 1011 |
|
$post_images = array();
|
geodirectory-functions/custom_functions.php 1 location
|
@@ 1450-1452 (lines=3) @@
|
| 1447 |
|
|
| 1448 |
|
$package_info = geodir_post_package_info(array(), $post, (!empty($post->post_type) ? $post->post_type : ''));
|
| 1449 |
|
$image_limit = '';
|
| 1450 |
|
if (defined('GEODIRPAYMENT_VERSION') && !empty($package_info) && isset($package_info->image_limit) && $package_info->image_limit !== '') {
|
| 1451 |
|
$image_limit = (int)$package_info->image_limit;
|
| 1452 |
|
}
|
| 1453 |
|
|
| 1454 |
|
if ( geodir_is_page( 'detail' ) ) {
|
| 1455 |
|
$video = geodir_get_video( $post->ID );
|