( isset( $post ) ) ? $post->ID : false, 'nonce' => wp_create_nonce( 'wpsp_nonce' ) )); } wp_enqueue_style( 'wpsp-admin', plugin_dir_url( __FILE__ ) . "css/admin.css", array(), WPSP_VERSION ); } } if ( ! function_exists( 'wpsp_translatable_strings' ) ) { add_action( 'admin_head','wpsp_translatable_strings', 0 ); /** * Add some javascript variables to the admin head * @since 0.1 */ function wpsp_translatable_strings() { ?>