Function Reference: geodir_cpt_admin_no_location_js
Summary
Add the javascript to hide address field from custom field.
Return Values
- (string)
- Print the inline script.
Change Log
Since: 1.1.7
Source File
geodir_cpt_admin_no_location_js() is located in geodir_custom_posts/geodir_cp_functions.php [Line: 1505]
Source Code
function geodir_cpt_admin_no_location_js() { if ( !empty( $_REQUEST['listing_type'] ) && geodir_cpt_no_location( $_REQUEST['listing_type'] ) ) { echo ''; } }